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

facenet-pytorch 2.6.0 requires torch<2.3.0,>=2.2.0, uninstalling torch 2.3.1 will break other nodes #41

Open
MMaximuss opened this issue Aug 3, 2024 · 2 comments

Comments

@MMaximuss
Copy link

facenet-pytorch 2.6.0 requires torch<2.3.0,>=2.2.0, uninstalling torch 2.3.1 will break other nodes. Is it possible to use another face recognition model? Or is there another option to use your node in combination with other nodes that need higher torchversion?

@smthemex
Copy link
Owner

smthemex commented Aug 3, 2024

If you have other python env on your computer, such as "torch 2.2.0", you can add python="xx/xxx/python/env" at the top of the "init.py" code in the node, with the absolute address in parentheses. Of course, the python versions of the two env must be consistent.You can use the following code to obtain the path of env, first import sys, then py_path=sys. executable, print (py_path),

@MMaximuss
Copy link
Author

Thanks, I reinstalled the torch version (2.3.1) and it worked. Thanks for the advice, and especially thanks for this nice node.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants