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

Env setup error #6

Open
013292 opened this issue Jul 6, 2023 · 1 comment
Open

Env setup error #6

013292 opened this issue Jul 6, 2023 · 1 comment

Comments

@013292
Copy link

013292 commented Jul 6, 2023

Thanks for the open source.
I'm running a docker with CUDA11.7 Ubuntu22.04 on a machine with 4 RTX3090 24G cards.
When i followed the instruction of environment setup, there are some problems:

  • I installed mmgen==0.7.2 and mmcv==1.6.0 but when I run the train.py there is error like this:
    AssertionError: MMCV==1.6.0 is used but incompatible. Please install mmcv>=1.3.16, <=1.5.0.
  • If I degrade the mmcv to 1.5.0, there is error like this:
    ModuleNotFoundError: No module named 'mmgen.models.architectures.stylegan.ada'
@Lakonik
Copy link
Owner

Lakonik commented Jul 7, 2023

Hi! Thank you for your interest in our work!

mmgen 0.7.2 should be compatible with mmcv 1.6.0 if you check their code, so you may try installing from source:

git clone https://github.com/open-mmlab/mmgeneration && cd mmgeneration && git checkout v0.7.2
pip install -v -e .

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

2 participants