vinayakarannil / Deeplearning_Image_Similarity

Deep learning based image similarity search for product recommendations
109 stars 35 forks source link

Access is denied #1

Closed prasad-1729 closed 5 years ago

prasad-1729 commented 5 years ago

WARNING:tensorflow:From C:\Users\prasad\Downloads\root\server\image_vectorizer.py:36: FastGFile.init (from tensorflow.python.platform.gfile) is deprecated and will be removed in a future version. Instructions for updating: Use tf.gfile.GFile. Traceback (most recent call last): File "C:\Users\prasad\Downloads\root\server\image_vectorizer.py", line 110, in image_data = gfile.FastGFile(filename, 'rb').read() File "C:\python36\lib\site-packages\tensorflow\python\lib\io\file_io.py", line 125, in read self._preread_check() File "C:\python36\lib\site-packages\tensorflow\python\lib\io\file_io.py", line 85, in _preread_check compat.as_bytes(self.__name), 1024 * 512, status) File "C:\python36\lib\site-packages\tensorflow\python\framework\errors_impl.py", line 528, in exit c_api.TF_GetCode(self.status.status)) tensorflow.python.framework.errors_impl.UnknownError: NewRandomAccessFile failed to Create/Open: uploads/dogs_and_cats/Shoes/Crib Shoes : Access is denied.

; Input/output error

sudoStatus200 commented 5 years ago

@prasad-1729 could you solve it?

sudoStatus200 commented 5 years ago

code is trying to open folder by assuming its a file that's why error is generating.

kodalianiruddho commented 3 years ago

Can you tell me how to solve this error?