napulen / AugmentedNet

A Roman Numeral Analysis Network with Synthetic Training Examples and Additional Tonal Tasks
MIT License
35 stars 7 forks source link

error in documentation #124

Open luto65 opened 5 months ago

luto65 commented 5 months ago

when i execute the command as in the documentation i get the following error

python -m AugmentedNet.inference AugmentedNet.hdf5 myfile.musicxml 
usage: inference.py [-h] [--modelPath MODELPATH] [--dir] [--useGpu] inputPath
inference.py: error: unrecognized arguments: myfile.musicxml 

please clarify which values must be given to execute the inference against a file that is in the same folder.

napulen commented 5 months ago

Hi @luto65

Can you try this instead?

python -m AugmentedNet.inference --modelPath AugmentedNet.hdf5 myfile.musicxml

If that works, I'll update the instructions in the README.