-
Hello! I am attempting to run DeepLabStream/A-Real on top of SLEAP to produce real-time closed-loop optogenetic control. I have been able to use SLEAP versions 1.3.2 and 1.3.3 without incident on this machine. DeepLabStream does not initialize at all when installed on top of the latest version of SLEAP (1.3.3) so I installed it in an environment with the version of SLEAP that was current when it was built in 2021 (SLEAP 1.1.5). However, while it does now initialize and run, it has very low FPS and does not use the GPU at all and I get a stream of Tensorflow errors as shown below, though the GPU does seem to be detected.
I assume this is because the deprecated version of SLEAP uses a version of tensorflow that no longer works with my GPU drivers. Has anyone else run into this issue or has any experience using SLEAP with a real-time/closed-loop manipulation software? Is there a set of cuda files I can install so SLEAP 1.1.5 can work in this environment? I would also need it to be compatible with Python version 3.6.* because of DLS's version compatibility. Thanks so much! GPU: NVIDIA GeForce RTX 2080 Ti |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @gracegliu, Apologies for the delay! We're a bit behind on support responses at the moment. This indeed looks like an issue with detecting the GPU. This is a toughie since those versions are all quite old, but you can try to install the CUDA dependencies according to the environment specs on v1.1.5:
If that doesn't work, you can try installing those versions at the system level (not recommended since it might break other stuff on your computer). It might also not be too bad to update DLS if you want to work with A-Real -- it shouldn't be too much work to get it working with newer versions of SLEAP (the API is pretty much the same, so you just have to deal with dependencies). As an alternative, you can try out Bonsai-Rx as a solution for realtime inference. Cheers, Talmo |
Beta Was this translation helpful? Give feedback.
Hi @gracegliu,
Apologies for the delay! We're a bit behind on support responses at the moment.
This indeed looks like an issue with detecting the GPU. This is a toughie since those versions are all quite old, but you can try to install the CUDA dependencies according to the environment specs on v1.1.5:
If that doesn't work, you can try installing those versions at the system level (not recommended since it might break other stuff on your computer).
It might also not be too bad to update DLS if you want to work with A-Real -- it shouldn't be too much work to get it working with newer versions of SLEAP (the API is pretty much the same, so you just h…