open-mmlab / mim

MIM Installs OpenMMLab Packages
https://openmim.readthedocs.io/en/latest/
Apache License 2.0
349 stars 64 forks source link

Access Denied error on Windows #236

Open DemersM opened 10 months ago

DemersM commented 10 months ago

Describe the bug mim raise Windows Access Denied error in conda

Reproduction

  1. What command or script did you run? Install openmim in a conda environment:
  pip install -U openmim
  mim download mmdet --config rtmdet_tiny_8xb32-300e_coco --dest .
  1. Did you make any modifications on the code or config? Did you understand what you have modified? No
  2. What dataset did you use?

Environment

sys.platform: win32 Python: 3.9.0 (default, Nov 15 2020, 08:30:55) [MSC v.1916 64 bit (AMD64)] CUDA available: True numpy_random_seed: 2147483648 GPU 0: Quadro RTX 3000 CUDA_HOME: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.0 NVCC: Cuda compilation tools, release 11.0, V11.0.194 MSVC: Compilateur d'optimisation Microsoft (R) C/C++ version 19.36.32532 pour x64 GCC: n/a PyTorch: 2.1.2 PyTorch compiling details: PyTorch built with:

TorchVision: 0.16.2 OpenCV: 4.9.0 MMEngine: 0.10.2 MMDetection: 3.3.0+44ebd17

zhouzaida commented 10 months ago

Could you provide the output of the given command?

DemersM commented 10 months ago

There is no output except the Access denied message printed in the console. Just using the command mim without any parameter raise the same error.

Can mim works without admin privilege?

Is there another way to download configs and checkpoints without using mim?

ghost commented 8 months ago

@DemersM we're facing the same issue. Did you manage to resolve it?