open-mmlab / mmfewshot

OpenMMLab FewShot Learning Toolbox and Benchmark
https://mmfewshot.readthedocs.io/en/latest/
Apache License 2.0
695 stars 117 forks source link

ImportError:cannot import name 'DistributedSampler' from 'mmcls.datasets.builder' #120

Open abcsunshine opened 1 year ago

abcsunshine commented 1 year ago

When I finished the installing and try to run the detection demo, an ImportError occurred.

image

image

xandril commented 1 year ago

Hi! mmfewshot doesn't support latest versions of mmcv-full. You should revert it back to 1.4.0