New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
While upgrade TensorFlow to 1.5, then training own data-set throwing the following error #3421
Comments
I had the same problem since yesterday. It looks like the pull request merged in be9b802 |
@Paspartout Hmmm, today when I installed everything from the latest (TensorFlow and Models) everything goes well, but while starting to train, got this problem, but I have tried to solve it by my self or by searching on the internet, but none of them has solved the problem. Here is a stack overflow question also issuing the same problem. |
Facing out same problem |
Same problem here. |
This error is due to the incompatibility of file tf_example_decoder.py with the Tensorflow installed. In file models/research/object_detection/data_decoders/tf_example_decoder.py: line 28:
line 104:
slim_example_decoder.Image is tf.contrib.slim.tfexample_decoder.Image In Tensorflow 1.5 source code A simple hack would be to not pass this argument. So edit tf_example_decoder.py line 110 to remove |
@nathansilberman can you please take a look? Thanks |
@harshitladdha is right, this code depends on latest tf.contrib.slim.tfexample_decoder, which does not exist in tf 1.5. A fix will be applied soon. |
Another workaround is to install tf-nightly (version 1.7) |
But there is no recent nightly built version for Windows users that has the 'dct_method' version. The last successful windows nightly built is almost one month ago! |
@Bahramudin Can you please use the latest version of TensorFlow and test again? Thanks! |
Please note that Tesnorflow Object Detection now requires tensorflow v 1.9 +. Closing this since it's we have updated our code base a number of times. |
System information
Describe the problem
I want to train my own dataset using TensorFlow object detection. I have already done everything step by step (collecting data, mark objects, create TF records) it was done without any problem, and when I was using TensorFLow 1.4 to train the dataset by using
ssd_mobilenet_v1_coco_2017_11_17
, everything goes well with out any problem, but when I upgrade it to 1.5, then I am getting below error:Note: I have already updated (reinstalled) everything.
The text was updated successfully, but these errors were encountered: