Errno13 Tensorflow Object Detection API

Viewed 11

I have been trying to find a solution for the errno13 permission error. I tried adding the path in windows already, changing permissions to the file in windows, but nothing works. Thanks for any help in advance!

if os.name=='nt':
url="https://github.com/protocolbuffers/protobuf/releases/download/v3.15.6/protoc-3.15.6-win64.zip"
wget.download(url)
!move protoc-3.15.6-win64.zip {paths['PROTOC_PATH']}
!cd {paths['PROTOC_PATH']} && tar -xf protoc-3.15.6-win64.zip
os.environ['PATH'] += os.pathsep + os.path.abspath(os.path.join(paths['PROTOC_PATH'], 'bin'))
!cd Tensorflow/models/research && protoc object_detection/protos/*.proto --python_out=. && copy object_detection\\packages\\tf2\\setup.py setup.py && python setup.py build && python setup.py install
!cd Tensorflow/models/research/slim && pip install -e.

It is able to do all the lines up to the second last line, where it gave me this error

errno13

Just to be clear, I am the administrator and updated the paths in the system environment to the target location, but it still gives me this error.

If you need more information, I am following the guide by https://www.youtube.com/watch?v=yqkISICHH-U

0 Answers
Related