-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[rsdk-8618] symlink model data without copying it over manually (#21)
Tried on an Orin Nano with the pepperoni detector and the COCO person detector: seems to work fine. * create a function to initialize directories * add vim swap files to .gitignore * include the directory we forgot * make a helper to symlink the model data * -a * bugfixes * it compiles now * Revert "add vim swap files to .gitignore" This reverts commit 578921e. * move #include to the right paragraph * reorder function calls * pr feedback: symlink the whole directory, not just the TF-specific stuff * tabs -> spaces * debugging * delete the old symlink if it exists * remove mention of model_repository_path in favor of symlink * debugging * update readme * debugging: need environment variable * remove debugging info * more debugging, will come back later * -a * -a * pr feedback: rephrase comment * pr feedback: URL in comment * -a * pr feedback: add comment * pr feedback: use a version of the function that throws exceptions, don't check return value * pr feedback: use filesystem::path and don't have boolean args * use filesystem::path again * put back the model repo directory, need to sort out model version still * set the model version only if you're manually setting up the repo, otherwise use version 1 * debugging: get the model name before creating symlinks * update readme * pr feedback: allow either the model_path or the model_repository_path but not both --------- Co-authored-by: robin <[email protected]> Co-authored-by: viam <[email protected]>
- Loading branch information
1 parent
e3c3839
commit 910e6dd
Showing
4 changed files
with
140 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters