Gen6D
Gen6D copied to clipboard
PermissionError: [WinError 5] Access is denied
Dear Author
Thank you very much for your great and amazing work:
I have got the following error when I run this line of code:
python prepare.py --action sfm --database_name custom/Drill2 --colmap C:\Users\User\Desktop\colmap\COLMAP-3.7-windows-no-cuda\bin
and I also have tried on cuda version but I have same issue
please help me in this case . Thanks in advanced
This problem seems to be related to the 'subprocess' of your python library. Maybe, you can run your cmd with administrator permission.
Thanks for your reply but unfortunately, I have tried several times even though I uninstalled and reinstalled the python but again it did not work ( same error). can you show me another solution, please?
I found that the colmap path was a bin
directory in your command line. It should be an executable bin/colmap
file. According to https://stackoverflow.com/questions/59777157/permissionerror-winerror-5-access-denied , you will get this error when you execute a directory.
Hi,
The problem still remains, even though I have tried it on different devices with windows OS but the same error,
Is there another way to run the colmap without using python script and get the same results ?
Thanks
python prepare.py --action sfm --database_name custom/Drill2 --colmap C:\Users\User\Desktop\colmap\COLMAP-3.7-windows-no-cuda\bin 改为 python prepare.py --action sfm --database_name custom/Drill2 --colmap C:\Users\User\Desktop\colmap\COLMAP-3.7-windows-no-cuda\colmap.bat