Closed LennartPhil closed 6 months ago
without .value
it worked just fine for me (internally python will call the enums str method which should result in the same thing?). So I'm curious: What Python version are you using to run into an issue?
However, being explicit is probably a good thing here - so thanks for contributing!
I'm currently on Python 3.11, glad I could help!
Fixes the bug that occurs when trying to open the downloaded model weights.
Considering that the model weights are named like
t1-o_best.tar
, the_load_model
function should look for the value of theinterference_mode
and of themodel_selection