-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
mim download mmpose --config td-hm_hrnet-w48_8xb32-210e_coco-256x192 --dest .[Bug] #2918
Comments
same issue |
me too |
Same issue here, running
|
same issue。I tried the main and dev-1.x,mim and pip install or docker build |
For me, in this case, it was caused by the configuration confliction of the following three files in # - configs/face_2d_keypoint/topdown_regression/wflw/resnet_softwingloss_wflw.yml
# - configs/face_2d_keypoint/topdown_regression/wflw/resnet_wflw.yml
# - configs/face_2d_keypoint/topdown_regression/wflw/resnet_wingloss_wflw.yml after commenting this thres lines out, it worked: $ mim download mmpose --config td-hm_hrnet-w48_8xb32-210e_coco-256x192 --dest .
# processing td-hm_hrnet-w48_8xb32-210e_coco-256x192...
# td-hm_hrnet-w48_8xb32-210e_coco-256x192-0e67c616_20220913.pth exists in /aihub/doing/mmlab/mmpose
# Successfully dumped td-hm_hrnet-w48_8xb32-210e_coco-256x192.py to /aihub/doing/mmlab/mmpose Hope this would help. |
Hi all, there is a new release that solves this problem. Please use |
Prerequisite
Environment
OrderedDict([('sys.platform', 'linux'), ('Python', '3.10.13 (main, Sep 11 2023, 13:44:35) [GCC 11.2.0]'), ('CUDA available', False), ('numpy_random_seed', 2147483648), ('GCC', 'gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0'), ('PyTorch', '2.1.0'), ('PyTorch compiling details', 'PyTorch built with:\n - GCC 9.3\n - C++ Version: 201703\n - Intel(R) oneAPI Math Kernel Library Version 2023.1-Product Build 20230303 for Intel(R) 64 architecture applications\n - Intel(R) MKL-DNN v3.1.1 (Git Hash 64f6bcbcbab628e96f33a62c3e975f8535a7bde4)\n - OpenMP 201511 (a.k.a. OpenMP 4.5)\n - LAPACK is enabled (usually provided by MKL)\n - NNPACK is enabled\n - CPU capability usage: AVX2\n - Build settings: BLAS_INFO=mkl, BUILD_TYPE=Release, CUDA_VERSION=12.1, CUDNN_VERSION=8.9.2, CXX_COMPILER=/opt/rh/devtoolset-9/root/usr/bin/c++, CXX_FLAGS= -D_GLIBCXX_USE_CXX11_ABI=0 -fabi-version=11 -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOROCTRACER -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=old-style-cast -Wno-invalid-partial-specialization -Wno-unused-private-field -Wno-aligned-allocation-unavailable -Wno-missing-braces -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow, LAPACK_INFO=mkl, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, TORCH_DISABLE_GPU_ASSERTS=ON, 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=ON, USE_NNPACK=ON, USE_OPENMP=ON, USE_ROCM=OFF, \n'), ('TorchVision', '0.16.0'), ('OpenCV', '4.9.0'), ('MMEngine', '0.10.2'), ('MMPose', '1.3.0+')])
Reproduces the problem - code sample
mim download mmpose --config td-hm_hrnet-w48_8xb32-210e_coco-256x192 --dest .
Reproduces the problem - command or script
mim download mmpose --config td-hm_hrnet-w48_8xb32-210e_coco-256x192 --dest .
Reproduces the problem - error message
raceback (most recent call last):
File "/opt/conda/bin/mim", line 8, in
sys.exit(cli())
File "/opt/conda/lib/python3.10/site-packages/click/core.py", line 1128, in call
return self.main(*args, **kwargs)
File "/opt/conda/lib/python3.10/site-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/opt/conda/lib/python3.10/site-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/opt/conda/lib/python3.10/site-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/opt/conda/lib/python3.10/site-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/opt/conda/lib/python3.10/site-packages/mim/commands/download.py", line 70, in cli
download(package, configs, dest_root, check_certificate, dataset)
File "/opt/conda/lib/python3.10/site-packages/mim/commands/download.py", line 107, in download
return _download_configs(package, configs, dest_root,
File "/opt/conda/lib/python3.10/site-packages/mim/commands/download.py", line 132, in _download_configs
model_info = get_model_info(
File "/opt/conda/lib/python3.10/site-packages/mim/commands/search.py", line 189, in get_model_info
dataframe = convert2df(metadata)
File "/opt/conda/lib/python3.10/site-packages/mim/commands/search.py", line 427, in convert2df
for key, value in name2collection[collection_name].items():
KeyError: 'ResNet'
Additional information
No response
The text was updated successfully, but these errors were encountered: