Skip to main content

All Questions

0 votes
0 answers
33 views

OOM error on GPU while training a RNN in model selection phase, tensor dimensions issue or wrong code?

I have a NLP tensor such as train:(22k, 170, 300) val: (2k, 170, 300), test: (25k, 170,300) where the last dim 300 are FastText embs, also I have one GPU Tesla 32GB. I'm doing model selection on a RNN ...
JustAnotherSimpleProgrammer__'s user avatar
0 votes
1 answer
88 views

How to import dataset for image sequence classification?

I want to build a model (RNN) on an image sequence to predict a binary variable. I saw a lot of tutorials for multi-input classification, but I didn't find anywhere how to import my data ? I have a ...
user25720613's user avatar
0 votes
1 answer
181 views

Why does my SimpleRNN model in Sequential API show '?' for output shape and zero trainable parameters when using Embedding layers?

I'm building a SimpleRNN model with an Embedding layer in Keras and encountering an issue when using the Sequential API. The model summary shows the output shape as ? and the number of trainable ...
Arjun Kumar's user avatar
0 votes
1 answer
79 views

Tensorflow saving model works but loading it doesn't

I trained an LSTM model in tensorflow, and it works fine, but when I save the model and then try to load it from disk, it throws me a ValueError when loading. FYI saving and loading works for other ...
AyoubLaar's user avatar
0 votes
0 answers
15 views

can we use Keras Sequential model with dense layers for non-temporal data

can we use Keras Sequential model with dense layers for non-temporal data i want to use deep learning methods with a tabular dataset of depression i found that we can use keras sequential model with ...
hajar ait chebri's user avatar
0 votes
0 answers
49 views

I'm having issues w/ my RNN; keeps predicting too high numbers

So I'm creating a frame AI network to predict substantial outbreaks throughout the world. The first step of my process is predicting factor data over the next couple of years. So far, I've been ...
Mufarrid Ansari's user avatar
0 votes
0 answers
36 views

Nevertheless input different 'data.csv' |Why RNN result's always linear?

It's my forecast code import pandas as pd import numpy as np import matplotlib.pyplot as plt from sklearn.preprocessing import MinMaxScaler from tensorflow.keras.models import Sequential from ...
tuk_shin19's user avatar
0 votes
0 answers
173 views

RNN - LSTM model for multivariate time series

I'm using LSTM for time series forecasting. This is my dataset: enter image description here X1,...,5 is the multivariate time serie, y the value to predict and mean, std, var, median, volume are the ...
Ismaele Le Voci's user avatar
1 vote
1 answer
113 views

Fitting an RNN model using a tensorflow dataset

I'm still new to using TensorFlow datasets and would like some help with the following. Assume I have a matrix where each row is an observation and I would like to use the window function in order to ...
user3245747's user avatar
0 votes
1 answer
30 views

Tensorflow error InvalidArgumentError: indices[42,244] = -1 is not in [0, 7000)

I am new to neural networks and I am trying to train an LSTM network with the following code: # Split the data into training and testing set X_train, X_test, y_train, y_test = train_test_split(X, y, ...
Michal Goldstein's user avatar
1 vote
1 answer
201 views

Tensorflow simple cumulative sum of product RNN cell

I am trying to build a Tensorflow model that calculates a cumulative sum of products of two of the input features, i.e. predicting on only (1,2) should return 2, and then predicting on (2,2) should ...
Simon Chemnitz-Thomsen's user avatar
0 votes
0 answers
117 views

RNN Keras Error || No OpKernel was registered to support Op 'CudnnRNN' used by {{node CudnnRNN}} with these attrs

I am currently working on a RNN using Keras, but I am stuck with this error: --------------------------------------------------------------------------- ValueError ...
roty2Poulet's user avatar
0 votes
1 answer
104 views

Why is my RNN model outputting the error: 'Input 0 of layer is incompatible with the layer'?

I have issue in my RNN model. The error is: Input 0 of layer "sequential_3" is incompatible with the layer: expected shape=(None, 90, 3), found shape=(None, 3). I still don't know how to ...
Alwan Rahmana Subian's user avatar
-1 votes
1 answer
34 views

ValueError: Input 0 is incompatible with layer lstm_35: expected ndim=3, found ndim=2

I am trying a regression problem with signals with a lstm. The shape of X_train is (3867,5000,1) and X_test(1998,5000,1). I have this error "ValueError: Input 0 is incompatible with layer lstm_35:...
David Sanchez Hommen's user avatar
1 vote
0 answers
85 views

ValueError: No gradients provided for any variable: (['embedding_1/embeddings:0', 'image_layer_1/kernel:0', 'image_layer_1/bias:0',

This is a program that generates captions for images and then updates the weights of the model based on the cross entropy loss. While updating the weights of the model, I come across this error and ...
pyComali's user avatar

15 30 50 per page
1
2 3 4 5
39