All Questions
7 questions
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=...
3
votes
0
answers
789
views
The Key Error : logtostderr (python, tensorflow)
I am trying to implement a InceptionV3 to classify the images.
(python 3.65 / tensorflow 1.14.0)
when I run the code, I am getting these key error : "logtostderr".
I don't know why this Key error ...
9
votes
1
answer
5k
views
Keras model.predict() slower on first iteration then gets faster
I am trying to run model.predict() in a for loop multiple times and timing how long it takes on the same image. The data will be used to take an average of the time taken to run the prediction.
If I ...
-1
votes
1
answer
59
views
How can I improve the accuracy of this keras Neural Network?
I'm working with the Heart Disease dataset from Machine Learning Repository and I want to improve the accuracy 0.8533 of my NN.
I've tried many things and I got the best results with this settings
...
1
vote
0
answers
798
views
Missing resnet_v1_50.ckpt and DeepLabCut failed to train the network (Deep-learning)
I installed Deep Lab Cut and tried to run deeplabcut.train_network(config_path,shuffle=1).
But,I got the following message
ValueError: The passed save_path is not a valid checkpoint: /home/user/...
3
votes
0
answers
9k
views
Getting "OSError: Unable to open file Permission denied " when trying to open trained model using keras in python
After following through some video tutorials, I have successfully trained a machine learning model using python 3.6, tensorflow and keras. But when I'm trying to open my trained model, it throws an ...
1
vote
1
answer
1k
views
TensorFlow : optimizer gives nan as ouput
I am running a very simple tensorflow program
W = tf.Variable([.3],tf.float32)
b = tf.Variable([-.3],tf.float32)
x = tf.placeholder(tf.float32)
linear_model = W*x + b
y = tf.placeholder(tf.float32)
...