Skip to main content

All Questions

0 votes
1 answer
1k views

ModuleNotFoundError: No module named 'tensorflow.compat' in tensorflow1.4 and python3.6 and cuda 8.0

I am trying to run a DL code based. My set up is : tensorflow 1.4 python 3.6 cuda 8.0 I am getting all the time the same error : Traceback (most recent call last): File "demo.py", line 285,...
Agata's user avatar
  • 141
0 votes
0 answers
166 views

How to solve this problem in python (Python-3.6.3/Modules/binascii.gcda:Cannot open)

tensorflow 1.14.0, Ubuntu 16.04 when I try to Run training file it give me this error: profiling:/home/shalaw/Python-3.6.3/build/temp.linux-x86_64-3.6/home/shalaw/Python-3.6.3/Modules/arraymodule....
Shalaw Mshir's user avatar
2 votes
2 answers
9k views

How to install tensorflow 1.15.0 in Ubuntu server 18.04

I am using Azure to create an Ubuntu server 18.04. The python3 default version in this VM is 3.6.9. I tried to install python3-pip, then install Tensorflow version 1.15.0 by command: sudo pip3 install ...
Thuat Nguyen's user avatar
0 votes
1 answer
86 views

I want to recognize an image with TensorFlow. I'm getting a shape error, but what do I do?

GmdMiss_Folder = os.path.join(os.getcwd(), '..', 'Photo', 'GMD Miss') GmdMiss_List = os.listdir(GmdMiss_Folder) for i in range(0, len(GmdMiss_List)): Img = os.path.join(os.getcwd(), GmdMiss_Folder,...
brainer's user avatar
  • 115
0 votes
1 answer
752 views

AttributeError: 'module' object has no attribute 'app' : TensorFlow Image Classifier

I am trying to train a new model, based on my custom dataset of images, so it can be my personalized image classifier. I strictly followed the tutorial from this link: "https://medium.com/@teavanist/...
George5555ish's user avatar
2 votes
2 answers
2k views

Upgrading from tensorflow 1.x to 2.0

I am new to tensorflow. Have tried this simple example: import tensorflow as tf sess = tf.Session() x = tf.placeholder(tf.float32) y = tf.placeholder(tf.float32) z = x + y print(sess.run(z, feed_dict=...
Benny K's user avatar
  • 2,107
1 vote
0 answers
831 views

TypeError: Input must be a SparseTensor when using Tensorflow's canned RNNEstimator

I am using Tensorflow's Dataset API to create a basic dataset and use it as input to the canned RNNEstimator as follows (Note some lines have been omitted for brevity: sequence_feature_colums = [tf....
dippynark's user avatar
  • 3,013
2 votes
2 answers
1k views

Tensorflow v1.10: store images as byte strings or per channel?

Context It is known that, at the moment, TF's Record documentation leaves something to be desired. My question is in regards to what is optimal for storing: a sequence, its per-element class ...
SumNeuron's user avatar
  • 5,198