ZMQ Error due to port issues with lab mate #1751
-
I'm currently using SLEAP on a lab computer. Occasionally when I attempt to train a model, I receive a "ZMQError: Address already in use"If the process is another SLEAP process, I can just kill it using sudo kill -9. However, occasionally it's a lab mate of mine running a simple notebook using VS Code elsewhere in the lab. I'm wondering if it's more efficient to change the ports from 9001 and 9002 in the SLEAP code and hardcore them to other ports to reroute from the SLEAP side or if it would be a more efficient use of my time to find a way to reroute my lab mate's usage of VS Code when running his ipynb's. I'm also wondering if changing the ports from the SLEAP code will introduce further downstream issues.Thanks in advance for the help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hello @henryplamondon, Sorry for the delayed response! You can try going to your SLEAP installation model folder > training_profiles > choose the specific model/s you want to use > set: Then you can test this by running training through the command line using the sleap-train command and see how that goes! Keep us updated! Best, |
Beta Was this translation helpful? Give feedback.
Hi @henryplamondon,
This feature has been added in our pre-release. Please make a new sleap environment with the updated conda package to use the new feature.
Thanks,
Elizabeth