Skip to content
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

version problems #38

Open
xiaridehehe opened this issue Apr 28, 2024 · 0 comments
Open

version problems #38

xiaridehehe opened this issue Apr 28, 2024 · 0 comments

Comments

@xiaridehehe
Copy link

Because I encountered a lot of problems in the process of running the code, mainly version problems, so here I share the version that I finally ran successfully.
conda install pytorch==1.10.0 torchvision==0.11.0 torchaudio==0.10.0 cudatoolkit=11.3 -c pytorch -c conda-forge
pip install mmcv-full==1.6.2 -f https://download.openmmlab.com/mmcv/dist/cu113/torch1.10/index.html
The versions of pytorch, cuda, and mmcv must correspond, otherwise they cannot run through the code. Since the version of mmcv has been upgraded, you need to comment out the author's code for the mmcv version check, i.e., lines 26, 27, and 28 of the mmseg/_init.py file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant