Skip to main content

All Questions

Tagged with
1 vote
1 answer
842 views

Problem importing Tensorflow Hub "module 'tensorflow.tools.docs.doc_controls' has no attribute 'inheritable_header'"

I am facing an issue regarding the import of TensorFlow hub. Following are the errors which are posted in the terminal. The version of tensorflow, I am using is 2.6, and the version of tensorflow-hub ...
yash shah's user avatar
1 vote
1 answer
112 views

TensorFlow Federated (TFF) TypeError in tff.templates.IterativeProcess.next() when clients_per_round exceed 99

I implemented a custom federated learning GAN training loop with TFF similar to this code by Google Research. The client data for a particular training round is found using the following code snippet: ...
Bjarne Pfitzner's user avatar
0 votes
1 answer
90 views

Tensornets ERROR instalation ubuntu anaconda environment

I tried to install tensornets in my ubuntu anaconda environment but the message bellow appears. I installed: numpy 1.17.0, tensoflow 1.14.0, pandas 1.1.5, opencv, keras, cmake, dlib $ pip ...
sbrgmoreno's user avatar
1 vote
1 answer
130 views

I am learning tensorflow2 in python and i am wondering what sets the ndim?

def build_model(layers): model = Sequential() # By setting return_sequences to True we are able to stack another LSTM layer model.add(LSTM(layers[0], input_shape=(1, 2), return_sequences=...
dbiber's user avatar
  • 39
0 votes
1 answer
72 views

Accuracy falling down tensorflow v1.5

I'm using tensorflow 1.5 and keras 2.1.6. The code is taken from this tutorial and reworked to work on version 1.5. There is it: import tensorflow as tf import keras import numpy as np import ...
nick_redwill's user avatar
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
1 answer
1k views

Tensorflow 1.2.1 :AttributeError: module 'tensorflow' has no attribute 'random'

I have installed tensorflow 1.2.1 and whenever i try to run c=tf.random.normal(shape=(3,4),dtype=tf.float32) I get the error AttributeError: module 'tensorflow' has no attribute 'random'
Altair21's user avatar
  • 645
1 vote
1 answer
899 views

Trying to understand a Tensorflow cuDNN error

I recently downloaded cuDNN and am getting some errors. My model starts training but then it quickly dies out. If I have a smaller network it will train for longer before dying out I want to try to ...
Coldchain9's user avatar
  • 1,755
1 vote
0 answers
129 views

Tensorflow 2.1 gives different neural net convergence on windows vs linux for Python 3.6

Machine 1 : LAMBDA QUAD LINUX Ubuntu:18.04 Deep Learning Workstation with 4 GPUs convergence of neural net model on lambda ( Linux) Machine 2 : Lenovo Thinkpad T480 Intel Windows 10. convergence of ...
Kanishka's user avatar
0 votes
1 answer
156 views

Getting Tensorflow To Run Faster

I have developed a machine learning python script (let's call it classify_obj written with python 3.6) that imports TensorFlow. It was developed initially for bulk analysis but now I find the need to ...
CH Tang's user avatar
  • 11
3 votes
1 answer
962 views

Correct way to apply gradients in TF2 custom training loop with multiple Keras models

I am working to implement a custom training loop with GradientTape involving multiple Keras models. I have 3 networks, model_a, model_b, and model_c. I have created a list to hold their ...
Endurance's user avatar
  • 101
0 votes
1 answer
615 views

How to create training and testing data and feed into keras model?

It might be a very simple question, but as a newbie in keras and machine learning, I am unable to solve this issue. This is a two-class classification problem. My code is written (Source:Kaggle) in ...
Js541's user avatar
  • 110
2 votes
1 answer
4k views

can't import tensorflow in python, windows 10 64 bit

I am trying to make a AI chatbot using python. This requires tensorflow. I installed it using pip and when I try to import it, it isn't working. I got this Traceback: Installation C:\Users\vross>...
user avatar
2 votes
1 answer
1k views

Running a SavedModel in TensorFlow 2 with inputs of a specific type

I'm trying to run an object detection model I have prepared in SavedModel format in TensorFlow 2. The model takes inputs in the format of a byte-encoded JPEG, PNG, or GIF as ...
nhubbard's user avatar
  • 110
0 votes
0 answers
500 views

Trouble Installing Tensorflow - Building wheel for wrapt (setup.py) ... error

Whenever I try to install tensorflow I keep getting the following error message. Is there an easy fix for problem? (py3.6) C:\Users\matthew>pip install tensorflow --no-cache-dir Collecting ...
Dangatang's user avatar

15 30 50 per page
1
2 3 4 5
9