Closed simondurand closed 7 years ago
What jams version are you using?
I expect that the added latency is due to forced validation after namespace conversion. We recently merged an update to the validation code that should resolve this as much as is possible. That fix is in master now, and will be included in the 0.3.1 release.
OK. I'm using the version 0.3.0.
@simondurand 0.3.1 is now up on pypi, please give it a try and let me know if it's still slow.
It is faster now. Thanks for the push.
Thanks for checking. I'll close this one out then.
It seems that the beat evaluation integrated in jams is quite slow compared to more standard techniques. When I use the file
example_eval.py
from the jams example documentation the computational time is 10 times longer than when I use even a simple baseline. The result is of course identical.example_eval.py:
I used
validate=False
as without it, the process is slower. The code is then:example_eval.compare_beats(infile_1, infile_2)
Whereinfile_1
andinfile_2
are 2 jams files.Simple baseline:
I used the same jams files in both cases for comparison purposes. But in the second case, I could use a more efficient format that would make the evaluation faster.