mapillary/inplace_abn

Install from sourcesget get error: [WinError 5] Access is denied

Opened this issue · 0 comments

Hi everyone,

I finished below steps to run install from sources:

set CUDA_HOME="C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin"
set DISTUTILS_USE_SDK=1
set IABN_FORCE_CUDA=1
python setup.py install

I am using Windows 11:
python 3.10.11
torch 2.1.0+cu121
torchvision 0.16.0+cu121

A part from console when I run code, after I activated environment:

running bdist_egg
running egg_info
writing inplace_abn.egg-info\PKG-INFO
writing dependency_links to inplace_abn.egg-info\dependency_links.txt
writing top-level names to inplace_abn.egg-info\top_level.txt
[03/24/24 14:48:16] WARNING toplevel mismatch computed e:\1.ext_tools\inplace_abn vs resolved git.py:96
E:\1.ext_tools\inplace_abn
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'inplace_abn.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_py
copying inplace_abn_version.py -> build\lib.win-amd64-cpython-310\inplace_abn
running build_ext
error: [WinError 5] Access is denied

Any recommend from you guys? I update full control permission of CUDA folder and inplace_abn source folder but still face this issue.

Regards,