models icon indicating copy to clipboard operation
models copied to clipboard

error when wanted to generate tfrecord. Please help!

Open sufyant opened this issue 6 years ago • 5 comments

Hello, I am getting this error when I try to create a train.record file. Can someone help me please ?

python version: 3.7 tensorflow version: 2.0

File "generate_tfrecord.py", line 17, in <module> import tensorflow as tf ModuleNotFoundError: No module named 'tensorflow'

sufyant avatar Apr 19 '20 22:04 sufyant

hi, what platform are you used? like, google colab or another?

proxip avatar Apr 20 '20 05:04 proxip

I am working on my local with conda environment

sufyant avatar Apr 20 '20 07:04 sufyant

try install TensorFlow first with pip install tensorflow

proxip avatar Apr 20 '20 09:04 proxip

I have already tried it but I still get the same error

sufyant avatar Apr 20 '20 10:04 sufyant

for tensorflow installation problem, please check stackoverflow and other references.

saberkun avatar Apr 21 '20 02:04 saberkun