tensorflow model im2txt: error when using Bazel build "couldn't determine target from filename"

In trying to use the im2txt Tensorflow model, I get this error:

couldn't determine target from filename 'im2txt/download_and_preprocess_mscoco'

Here is the link to the Github repo where the model is located:

I'm following the directions from the tutorial/readme. Any help would be much appreciated.


I figured it out. It had to do with the path to the directory with the IM2TXT models. As long as you are running the command from the correct directory that you downloaded the models to, the error goes away.


 ? How to reduce tensorflow size for android?
 ? Tensorflow: saving and resoring session - multiple variables
 ? TensorFlow placeholder variable for integer or boolean isn't working
 ? tf.decode_csv() error: "Unquoted fields cannot have quotes/CRLFs inside"
 ? When should I define a new TensorFlow op?
 ? Requesting multiple values from graph at same time
 ? sparse_to_dense requires indices to be lexicographically sorted in 0.7
 ? Tensorflow Different ways to Export and Run graph in C++
 ? Implement Logistic Regression(LR) in Tensorflow,But Result looks strange when using bias but good without bias
 ? Visualizing a TensorFlow graph in Jupyter doesn't work