Problem with retrain.py. Getting error tensorflow.python.framework.errors_impl.NotFoundError
up vote
1
down vote
favorite
I'm using retrain.py
to retrain an object detector on photos of my hand (to detect how many fingers I'm holding). On the Tensorflow site, I followed the tutorial where I retrained it on their images of flowers. So I wrote python retrain.py --image_dir ~/flower_photo
s and it worked. I had my hand_photos
directory which contained sub-directories of me holding various fingers up. However I received this error:
tensorflow.python.framework.errors_impl.NotFoundError: /Users/spencerkraisler/hand_photos/untitled folder; No such file or directory
I don't understand why it's looking for some untitled folder in my hand_photos
directory, nor why it works find on flower_photos
.
I am using the current tensor flow and python 3.6. I am in an anaconda
environment however this works just fine with flower_photos.
Furthermore, flower_photos just contains sub-directories of photos of various flowers, all .jpg
. My photos are also in .jpg
format.
python tensorflow machine-learning conv-neural-network
add a comment |
up vote
1
down vote
favorite
I'm using retrain.py
to retrain an object detector on photos of my hand (to detect how many fingers I'm holding). On the Tensorflow site, I followed the tutorial where I retrained it on their images of flowers. So I wrote python retrain.py --image_dir ~/flower_photo
s and it worked. I had my hand_photos
directory which contained sub-directories of me holding various fingers up. However I received this error:
tensorflow.python.framework.errors_impl.NotFoundError: /Users/spencerkraisler/hand_photos/untitled folder; No such file or directory
I don't understand why it's looking for some untitled folder in my hand_photos
directory, nor why it works find on flower_photos
.
I am using the current tensor flow and python 3.6. I am in an anaconda
environment however this works just fine with flower_photos.
Furthermore, flower_photos just contains sub-directories of photos of various flowers, all .jpg
. My photos are also in .jpg
format.
python tensorflow machine-learning conv-neural-network
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I'm using retrain.py
to retrain an object detector on photos of my hand (to detect how many fingers I'm holding). On the Tensorflow site, I followed the tutorial where I retrained it on their images of flowers. So I wrote python retrain.py --image_dir ~/flower_photo
s and it worked. I had my hand_photos
directory which contained sub-directories of me holding various fingers up. However I received this error:
tensorflow.python.framework.errors_impl.NotFoundError: /Users/spencerkraisler/hand_photos/untitled folder; No such file or directory
I don't understand why it's looking for some untitled folder in my hand_photos
directory, nor why it works find on flower_photos
.
I am using the current tensor flow and python 3.6. I am in an anaconda
environment however this works just fine with flower_photos.
Furthermore, flower_photos just contains sub-directories of photos of various flowers, all .jpg
. My photos are also in .jpg
format.
python tensorflow machine-learning conv-neural-network
I'm using retrain.py
to retrain an object detector on photos of my hand (to detect how many fingers I'm holding). On the Tensorflow site, I followed the tutorial where I retrained it on their images of flowers. So I wrote python retrain.py --image_dir ~/flower_photo
s and it worked. I had my hand_photos
directory which contained sub-directories of me holding various fingers up. However I received this error:
tensorflow.python.framework.errors_impl.NotFoundError: /Users/spencerkraisler/hand_photos/untitled folder; No such file or directory
I don't understand why it's looking for some untitled folder in my hand_photos
directory, nor why it works find on flower_photos
.
I am using the current tensor flow and python 3.6. I am in an anaconda
environment however this works just fine with flower_photos.
Furthermore, flower_photos just contains sub-directories of photos of various flowers, all .jpg
. My photos are also in .jpg
format.
python tensorflow machine-learning conv-neural-network
python tensorflow machine-learning conv-neural-network
edited Nov 11 at 7:19
Rishav
1,7791332
1,7791332
asked Nov 11 at 5:19
Spencer Kraisler
61
61
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
Well problem solved. I actually had an empty directory named "untitled folder" in my training data. I must've created it by accident. Case closed.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Well problem solved. I actually had an empty directory named "untitled folder" in my training data. I must've created it by accident. Case closed.
add a comment |
up vote
0
down vote
Well problem solved. I actually had an empty directory named "untitled folder" in my training data. I must've created it by accident. Case closed.
add a comment |
up vote
0
down vote
up vote
0
down vote
Well problem solved. I actually had an empty directory named "untitled folder" in my training data. I must've created it by accident. Case closed.
Well problem solved. I actually had an empty directory named "untitled folder" in my training data. I must've created it by accident. Case closed.
answered Nov 11 at 5:29
Spencer Kraisler
61
61
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53246056%2fproblem-with-retrain-py-getting-error-tensorflow-python-framework-errors-impl-n%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown