-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[Bug] torch , mmpose old version 0.x and mmcv issue #3035
Comments
i have this error now :
although my pip version is any help plz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Prerequisite
Environment
I am trying to work on the previous version of mmpose (0.x) , when running the collect_env it gives me this
Traceback (most recent call last): File "<string>", line 1, in <module> ModuleNotFoundError: No module named 'mmpose'
although , i try to install mmcv-full as it is the compatible one with mmpose (0.x) version , it took me long time without success.
it gives me this error :
after running this line
![image](https://private-user-images.githubusercontent.com/10245810/327994482-00c7fc41-7d19-44c7-b2a3-aca1cbacf6f1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIzNDgxODcsIm5iZiI6MTcyMjM0Nzg4NywicGF0aCI6Ii8xMDI0NTgxMC8zMjc5OTQ0ODItMDBjN2ZjNDEtN2QxOS00NGM3LWIyYTMtYWNhMWNiYWNmNmYxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzMwVDEzNTgwN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI1OGM3YTY5MDU5Y2U5ODc0Njg1NjI1NGM5ZDQyYzM4Nzk5MzNiMzdjMjgxNWU4ZTAzNGI2NjcwNmU2MWZkNDYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Nkq_hFe0cTcL848KZv23DMQBaZev6vmeamh0KjVRV20)
pip list | grep mm
, i got this :Reproduces the problem - code sample
error in mmpose and mmcv versions , compatible with torch
i try to install pytorch using this command :
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121
as i can not create a conda environment in a cluster system
Reproduces the problem - command or script
I want to run this code :
python tools/analysis/get_flops.py ${CONFIG_FILE}
using my config file which has been designed and built on previous mmpose (0.x) version. as i want to calculate the number of parameters and flops in my model.
Reproduces the problem - error message
I run this line
python tools/analysis/get_flops.py configs/excavator/resnet50normal/res50_animalpose_256x256_exc.py
i got this error :
File "tools/analysis/get_flops.py", line 5, in
import torch
ModuleNotFoundError: No module named 'torch'
Additional information
No response
The text was updated successfully, but these errors were encountered: