일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- Backpropagation
- two-layer neural net
- #9
- Softmax
- assignment
- error
- neural net
- KNN
- palindrome
- Big size image
- Floating
- impl
- autoencoder
- pullup
- pyTorch
- backward pass
- Solution
- atmega128
- NotFoundError
- cs231n
- TensorFlow
- pulldown
- 풀다운저항
- assignment1
- 풀업저항
- softmax backpropagation
- 회로
- Circuit
- Features
- leetcode
- Today
- Total
코딩공부
Tensorflow 사용중 발생했던 error 본문
Python에서 Tensorflow사용중에 다음과 같은 오류가 발생했다.
tensorflow.python.framework.errors_impl.NotFoundError: 경로/train.record; No such file or directory
라는 오류가 계속 발생해서 구글링을 해봐도 해결방안을 찾지 못해서 한동안 씨름하다가 진짜 경로의 문제인가 싶어서 경로를 기존방법과 다르게 적어보았다.
다른 방법이 이것이다.
기존에는 input과 output경로를 모두 ~/Tensorflow/workspace/training-real/annotations 이런 방법으로 작성하였는데 ' ~/ ' <<이부분이 문제가 아니였나 싶다. Ubuntu에서는 ~를 home으로 인식하지만 python에서는 인식을 하지 못하는것 같다. 처음부터 ~/가 아니라 /home/ldh/Tensorflow/..... 이런식으로 작성하였으면 오류가 없었을것 같다.
같은 오류가 생기는 사람들도 경로를 다시 절대적인 경로로 작성해보는것을 추천한다.
English Part:
I got error which says 'tensorflow.python.framework.errors_impl.NotFoundError: /train.record; No such file or directory
At first as you can see in 'error image' picture I typed input and output route as '~/Tensorflow/workspace/training-real/annoations'. I think ' ~/ ' <<<this part was the problem. I think though Ubuntu can recognize ~ as 'home', Python cannot. So if you have same problem with me, try check your input and output routes. Make sure they are "absolute" route like "C:\Tensorflow\workspace\~~~~".