Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flip classifier tool not found - was it deprecated? #275

Open
X4ndri opened this issue Jun 13, 2024 · 4 comments
Open

Flip classifier tool not found - was it deprecated? #275

X4ndri opened this issue Jun 13, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@X4ndri
Copy link

X4ndri commented Jun 13, 2024

Does anybody happen to know if flip_classifier_tool has been deprecated or something of that sort? I cannot find it in the code base and I am getting the following error when trying to import it using from moseq2_app.main import flip_classifier_tool:

ImportError: cannot import name 'flip_classifier_tool' from 'moseq2_app.main' (/home/aabdalq/repos/moseq2-app/moseq2_app/main.py)

@X4ndri X4ndri added the bug Something isn't working label Jun 13, 2024
@lost-particles
Copy link

Facing the same issue. @X4ndri did you find any workaround for this ?

@davidhbrann
Copy link
Collaborator

davidhbrann commented Jul 29, 2024

Looks like it was removed in #272 and replaced with a new script, see scripts/train_flip_classifier.py. It would probably be useful to add a DeprecationWarning for breaking changes?

@X4ndri
Copy link
Author

X4ndri commented Jul 29, 2024

@davidhbrann is right. Although I'm not sure about the scripts/train_flip_classifier.py script. I ended up brewing up another environment with moseq2 v1.3.0 just for training the model while keeping my current environment for extraction and ARHMM training

@versey-sherry
Copy link
Contributor

@davidhbrann is right. Although I'm not sure about the scripts/train_flip_classifier.py script. I ended up brewing up another environment with moseq2 v1.3.0 just for training the model while keeping my current environment for extraction and ARHMM training

I recommend this method as the new script has not been tested and there is no documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants