Closed P-eMartin closed 8 months ago
Hi @P-eMartin,
Thanks for using asbar! Let's fix the issues you are encountering.
1) ls: cannot access './models/deeplabcut/': No such file or directory --> i have just fixed the code, so that the deeplabcut folder is created. You can either update your local repo or simply manually create a folder called "deeplabcut" in the existing "models" folder.
2) it seems that you are encountering an issue with your pytorch installation. can you test that torch has cuda enable but running the following code in Python:
import torch
torch.cuda.is_available()
is the statement is False try to reinstall pytorch using
conda install pytorch==1.7.0 torchvision==0.8.0 torchaudio==0.7.0 cudatoolkit=11.0 -c pytorch
Let me know if this solves your issue.
Cheers, Mitch
Dear Mitch, Thanks.
conda install -y -c conda-forge -c pytorch pytorch cudatoolkit=11.1
as suggested in https://github.com/pytorch/pytorch/issues/51080#issuecomment-787133939 This may be hardware dependant. We are facing some driver s incompatibility and may have affected the installation of the conda environment.
Any chance to have a demo of your pre-trained models on this repo? Best
Hi @P-eMartin,
Great to hear that your issue was solved.
Yes of course, I have just added to the repo the final models for deeplabcut and mmaction2 in the folder 'pretrained_models'.
Once you created a deeplabcut model with the GUI you can add the 3 files in the folder corresponding to:
asbar/models/deeplabcut/
The model will be used by deeplabcut to analyze videos when you choose Mmaction2 --> create dataset in the GUI
Let me know if you need anything else.
Cheers, Mitch
After installation steps, running the GUI and selecting DeepLabCut model with all keypoints (or any) with all visibility (or only visible):
Running on Ubuntu 20.04.6 LTS (GNU/Linux 5.15.0-88-generic x86_64)