diff options
author | Judah Fuller <[email protected]> | 2023-04-26 17:34:37 +0100 |
---|---|---|
committer | Judah Fuller <[email protected]> | 2023-04-26 17:34:37 +0100 |
commit | 006ed3ec28e3211a02fdb9baee1aba77581592d7 (patch) | |
tree | 8dc141750db451332aaf92e6c41332a2cf450384 /docs/consumer/Model_Renamer.md | |
parent | e7af5313bfe4cf96fd5c71056bf8ccdb4866c2b8 (diff) | |
download | OpenCortex-006ed3ec28e3211a02fdb9baee1aba77581592d7.tar.gz OpenCortex-006ed3ec28e3211a02fdb9baee1aba77581592d7.zip |
Auto stash before merge of "Docs" and "upstream/main"
Diffstat (limited to 'docs/consumer/Model_Renamer.md')
-rw-r--r-- | docs/consumer/Model_Renamer.md | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/docs/consumer/Model_Renamer.md b/docs/consumer/Model_Renamer.md new file mode 100644 index 0000000..43ab007 --- /dev/null +++ b/docs/consumer/Model_Renamer.md @@ -0,0 +1,22 @@ +# Editing the default model names + +Companies like NDSP aren't allowed to ship their models under the real name it is based on. Luckly they keep track of it in the actual model list. + +The models and their respective categories, names and parameters, are stored inside `/opt/neuraldsp/ModelRepo.xml`. In order to rename these files to the real deal, you need to edit the file. + +If you don't want to rename the files manually you can: + +- Use the `model_renamer.py` script in this repo to generate the XML file + + - Usage: + + ```console + python model_renamer.py <original-modelrepo> <output-file-path> + ``` + +- Use the pre-generated XML file inside `Model Repositories` (make sure to match it to your CorOS verion) + +Now replace the `ModelRepo.xml` file inside `/opt/neuraldsp` with the new file. Make sure this is called `ModelRepo.xml`. +Finally reboot your QC, now you should have all models (except captures) renamed to their real names. + +![IMG20221218151130](https://user-images.githubusercontent.com/55881698/208303182-8554e62c-96a9-41f2-be0d-1f1f4f564506.jpg) |