anipose icon indicating copy to clipboard operation
anipose copied to clipboard

Can I use anipose in colab?

Open F2AGLAXY opened this issue 3 years ago • 3 comments

Good afternoon,

Currently, I run deeplabcut in colab for motion analysis, I try to use anipose in the colab. However, it does not work... Looking for the suggestions.

Thanks in advance! C.

F2AGLAXY avatar May 18 '21 12:05 F2AGLAXY

Trying to do the same thing. Get stuck on ImportError: cannot import name 'aruco' from 'cv2' (unknown location with anipose==0.8.1 and aniposelib==0.3.7. Have you gotten further?

FredrikLastow avatar May 24 '21 12:05 FredrikLastow

Now I use my laptop's GPU to run this code...

F2AGLAXY avatar May 25 '21 07:05 F2AGLAXY

I haven't used anipose within colab at this time. Probably you would have more luck running aniposelib in colab.

@FredrikLastow The aruco import issue comes from installing opencv-python instead of opencv-contrib-python. Perhaps you could try running something like this?

pip uninstall -y opencv-contrib-python
pip install -y opencv-python

lambdaloop avatar Jun 19 '21 00:06 lambdaloop