mmagic
mmagic copied to clipboard
mmcv版本困惑
Prerequisite
- [X] I have searched Issues and Discussions but cannot get the expected help.
- [X] I have read the FAQ documentation but cannot get the expected help.
- [X] The bug has not been fixed in the latest version (main) or latest version (0.x).
Task
I'm using the official example scripts/configs for the officially supported tasks/models/datasets.
Branch
main branch https://github.com/open-mmlab/mmagic
Environment
from mmagic.apis import MMagicInferencer 需要mmcv>=2.0.0 sd_inferencer = MMagicInferencer(model_name='stable_diffusion') 需要mmcv<=1.8.0 很困惑,怎么解决?
Reproduces the problem - code sample
from mmagic.apis import MMagicInferencer 需要mmcv>=2.0.0 sd_inferencer = MMagicInferencer(model_name='stable_diffusion') 需要mmcv<=1.8.0 很困惑
Reproduces the problem - command or script
from mmagic.apis import MMagicInferencer 需要mmcv>=2.0.0 sd_inferencer = MMagicInferencer(model_name='stable_diffusion') 需要mmcv<=1.8.0 很困惑
Reproduces the problem - error message
from mmagic.apis import MMagicInferencer 需要mmcv>=2.0.0 sd_inferencer = MMagicInferencer(model_name='stable_diffusion') 需要mmcv<=1.8.0 很困惑
Additional information
from mmagic.apis import MMagicInferencer 需要mmcv>=2.0.0 sd_inferencer = MMagicInferencer(model_name='stable_diffusion') 需要mmcv<=1.8.0 很困惑
We recommend using English or English & Chinese for issues so that we could have broader discussion.
pip uninstall mmcv-full
and reinstall mmcv again
按照 https://github.com/open-mmlab/mmagic/blob/main/README_zh-CN.md#%EF%B8%8F-%E5%AE%89%E8%A3%85 重新安装
Closing due to inactivity, please reopen if there are any further problems.