You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I am trying to test the mmfashion repo for landmark detection, and when running the following command after setting up the dataset, according to the Readme file, I get the following error
Traceback (most recent call last):
File "C:\Users\NickosKal\mmfashion\tools\test_landmark_detector.py", line 4, in
from mmcv import Config
ImportError: cannot import name 'Config' from 'mmcv' (C:\Users\NickosKal\anaconda3\envs\venv\lib\site-packages\mmcv_init_.py)
Additional information
No response
The text was updated successfully, but these errors were encountered:
Prerequisite
Environment
mmfashion>python -c "from mmcv.utils import collect_env; print(collect_env())"
OrderedDict([('sys.platform', 'win32'), ('Python', '3.10.13 | packaged by Anaconda, Inc. | (main, Sep 11 2023, 13:24:38) [MSC v.1916 64 bit (AMD64)]'), ('CUDA available', True), ('MUSA available', False), ('numpy_random_seed', 2147483648), ('GPU 0', 'NVIDIA GeForce RTX 3060 Laptop GPU'), ('CUDA_HOME', 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8'), ('NVCC', 'Cuda compilation tools, release 11.8, V11.8.89'), ('MSVC', 'Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30158 for x64'), ('GCC', 'n/a'), ('PyTorch', '2.1.0'), ('PyTorch compiling details', 'PyTorch built with:\n - C++ Version: 199711\n - MSVC 192930151\n - Intel(R) Math Kernel Library Version 2020.0.2 Product Build 20200624 for Intel(R) 64 architecture applications\n - Intel(R) MKL-DNN v3.1.1 (Git Hash 64f6bcbcbab628e96f33a62c3e975f8535a7bde4)\n - OpenMP 2019\n - LAPACK is enabled (usually provided by MKL)\n - CPU capability usage: AVX2\n - CUDA Runtime 11.8\n - NVCC architecture flags: -gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_80,code=sm_80;-gencode;arch=compute_86,code=sm_86;-gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_90,code=sm_90;-gencode;arch=compute_37,code=compute_37\n - CuDNN 8.7\n - Magma 2.5.4\n - Build settings: BLAS_INFO=mkl, BUILD_TYPE=Release, CUDA_VERSION=11.8, CUDNN_VERSION=8.7.0, CXX_COMPILER=C:/cb/pytorch_1000000000000/work/tmp_bin/sccache-cl.exe, CXX_FLAGS=/DWIN32 /D_WINDOWS /GR /EHsc /bigobj /FS -DUSE_PTHREADPOOL -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DLIBKINETO_NOROCTRACER -DUSE_FBGEMM -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE /utf-8 /wd4624 /wd4068 /wd4067 /wd4267 /wd4661 /wd4717 /wd4244 /wd4804 /wd4273, LAPACK_INFO=mkl, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, TORCH_DISABLE_GPU_ASSERTS=OFF, TORCH_VERSION=2.1.0, USE_CUDA=ON, USE_CUDNN=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=OFF, USE_NNPACK=OFF, USE_OPENMP=ON, USE_ROCM=OFF, \n'), ('TorchVision', '0.16.0'), ('OpenCV', '4.8.1'), ('MMEngine', '0.10.7'), ('MMCV', '2.2.0'), ('MMCV Compiler', 'MSVC 192930148'), ('MMCV CUDA Compiler', '11.8')])
Reproduces the problem - code sample
Hello, I am trying to test the mmfashion repo for landmark detection, and when running the following command after setting up the dataset, according to the Readme file, I get the following error
Reproduces the problem - command or script
Reproduces the problem - error message
Traceback (most recent call last):
File "C:\Users\NickosKal\mmfashion\tools\test_landmark_detector.py", line 4, in
from mmcv import Config
ImportError: cannot import name 'Config' from 'mmcv' (C:\Users\NickosKal\anaconda3\envs\venv\lib\site-packages\mmcv_init_.py)
Additional information
No response
The text was updated successfully, but these errors were encountered: