Skip to content Skip to sidebar Skip to footer
Showing posts with the label Tensorflow

How To Import Word2vec Into Tensorflow Seq2seq Model?

I am playing with Tensorflow sequence to sequence translation model. I was wondering if I could imp… Read more How To Import Word2vec Into Tensorflow Seq2seq Model?

Valueerror: Data Cardinality Is Ambiguous

I'm trying to train LSTM network on data taken from a DataFrame. Here's the code: x_lstm=x.… Read more Valueerror: Data Cardinality Is Ambiguous

Concatenate 3d Tensors By Cloning One Tensor?

I have two tensors: a = tf.placeholder(tf.float32, [None, 20, 100]) b = tf.placeholder(tf.float32, … Read more Concatenate 3d Tensors By Cloning One Tensor?

Tensorflow Multi Gpu Parallel Usage

I want to use 8 gpus on parallel, not sequencely. For example, when I execute this code, import ten… Read more Tensorflow Multi Gpu Parallel Usage

Valueerror: Negative Dimension Size Caused By Subtracting 2 From 1 For Maxpool1d With Input Shapes: [?,1,1,128]. Full Code,output & Error In The Post:

I have an error while making the following CNN model: features_train = np.reshape(features_train, (… Read more Valueerror: Negative Dimension Size Caused By Subtracting 2 From 1 For Maxpool1d With Input Shapes: [?,1,1,128]. Full Code,output & Error In The Post:

Cnn Loss With Multiple Outputs?

I have the following model def get_model(): epochs = 100 learning_rate = 0.1 decay_rate = learning_… Read more Cnn Loss With Multiple Outputs?