Skip to content

11장 구글 이미지모델 오류나요 ㅠㅠ #55

Open
@gci9191918

Description

@gci9191918

예제에 나온대로 실행하고 pip3 install pillow 로 설치하고 확인해도 프롬프트에서 실행이 안되고 깃허브에 올라온 파일로 해도 오류가 납니다 답변 부탁드립니다. ㅠㅠ

아래가 오류 내용입니다

c:\training>python predict.py workspace/flower_photos/roses/3065719996_c16ecd551.jpg
WARNING:tensorflow:From predict.py:24: FastGFile.init (from tensorflow.python.platform.gfile) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.gfile.GFile.
2019-08-09 16:23:39.027076: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
Traceback (most recent call last):
File "predict.py", line 53, in
tf.app.run()
File "C:\Users\gci00\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\platform\app.py", line 125, in run
_sys.exit(main(argv))
File "predict.py", line 31, in main
image = tf.gfile.FastGFile(sys.argv[1], 'rb').read()
File "C:\Users\gci00\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\lib\io\file_io.py", line 125, in read
self._preread_check()
File "C:\Users\gci00\AppData\Local\Programs\Python\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:\Users\gci00\AppData\Local\Programs\Python\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.NotFoundError: NewRandomAccessFile failed to Create/Open: workspace/flower_photos/roses/3065719996_c16ecd551.jpg : \udcc1\udcf6\udcc1\udca4\udcb5\udcc8 \udcc6\udcc4\udcc0\udccf\udcc0\udcbb ã\udcc0\udcbb \udcbc\udcf6 \udcbe\udcf8\udcbd\udcc0\udcb4ϴ\udcd9.
; No such file or directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions