napulen / AugmentedNet

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

error in documentation #124

Open luto65 opened 1 week ago

luto65 commented 1 week 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 1 week 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.