Tensorflow Retrain.py App.run() Got Unexpected Keyword Argument 'argv'
I am trying to run the Tensorflow for Poets sample. I pass the following: python examples/image_retraining/retrain.py --bottlenext_dir=tf_files/bottlenecks --how_many_training_ste
Solution 1:
I had the same problem earlier. Downloading the examples from a different branch fixed it.
git clone -b r0.11 https://github.com/tensorflow/tensorflow.git
Solution 2:
Please check your sample's version. I met the same problem and finally solved it. I found my tf version is 0.11, but I downloaded the master one, then I compare the code asyntax difference.
Solution 3:
You can also specifically checkout just the working fully_connected_feed.py
file from the r0.11 branch by using the git command:
git checkout 5b18edb fully_connected_feed.py
NOTE: You need to be in the mnist/ directory to use this command
Post a Comment for "Tensorflow Retrain.py App.run() Got Unexpected Keyword Argument 'argv'"