diff options
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..e91e431 --- /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://cdn.discordapp.com/attachments/1064519312242638973/1100813500546285739/image.png) |