Skip to content
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

Access Denied error on Windows #236

Open
DemersM opened this issue Jan 11, 2024 · 3 comments
Open

Access Denied error on Windows #236

DemersM opened this issue Jan 11, 2024 · 3 comments

Comments

@DemersM
Copy link

DemersM commented Jan 11, 2024

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:

  • C++ Version: 199711
  • MSVC 192930151
  • Intel(R) Math Kernel Library Version 2020.0.2 Product Build 20200624 for Intel(R) 64 architecture applications
  • Intel(R) MKL-DNN v3.1.1 (Git Hash 64f6bcbcbab628e96f33a62c3e975f8535a7bde4)
  • OpenMP 2019
  • LAPACK is enabled (usually provided by MKL)
  • CPU capability usage: AVX2
  • CUDA Runtime 11.8
  • 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
  • CuDNN 8.7
  • Magma 2.5.4
  • 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.2, 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,

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

@zhouzaida
Copy link
Member

Could you provide the output of the given command?

@DemersM
Copy link
Author

DemersM commented Jan 12, 2024

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
Copy link

ghost commented Feb 26, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants