Skip to content

Instantly share code, notes, and snippets.

@spk921
Created December 29, 2016 03:56
Show Gist options
  • Save spk921/65dce2bc86c8470f388187c6169517a7 to your computer and use it in GitHub Desktop.
Save spk921/65dce2bc86c8470f388187c6169517a7 to your computer and use it in GitHub Desktop.
TensorFlow version check
python -c 'import tensorflow as tf; print(tf.__version__)' # for Python 2
python3 -c 'import tensorflow as tf; print(tf.__version__)' # for Python 3
@poethan
Copy link

poethan commented May 21, 2020

Hi all, I got similar problem here.
from tensorflow.contrib.slim import parallel_reader, tfexample_decoder
ModuleNotFoundError: No module named 'tensorflow.contrib'

if Tensorflow.contrib does not exist anymore in the Colab, can I change the code " from tensorflow.contrib.slim import parallel_reader, tfexample_decoder" into any other wording to achieve the function please?
Thanks,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment