Keras TypeError: 'int' not iterable

0 votes

I'm building a LSTM recurrent network, but I keep getting this error:

TypeError: 'int' object is not iterable 

How do I solve this?

Jun 17 in Data Analytics by Zulaikha
• 870 points
238 views

2 answers to this question.

0 votes

Long Short Term Memory are implemented sequentially

Make sure your input shape has two attributes: length and features

The data set should be of the following format:

(sequences, length, features)

answered Jun 17 by Zulaikha
• 870 points
0 votes

Long Short Term Memory networks are implemented using the sequence function.

Make sure your input has two attributes: length and features

Also, the data set must be formatted like so: 

(sequences, length, features)

answered Jun 17 by Sophie may
• 9,870 points

Related Questions In Data Analytics

0 votes
1 answer

Splunk Cluster instalation document was not uploaded in the cource.

Dear Learner, Greetings ! We would like to inform ...READ MORE

answered Dec 18, 2017 in Data Analytics by Sudhir
• 1,610 points
64 views
0 votes
1 answer

SMOTE-function not working in R

If you convert 'y' to a factor, ...READ MORE

answered Jun 26, 2018 in Data Analytics by CodingByHeart77
• 3,690 points
464 views
0 votes
1 answer

What does “Error: object '<myvariable>' not found” mean?

The error means that R could not ...READ MORE

answered Oct 29, 2018 in Data Analytics by Ali
• 10,440 points
47 views
0 votes
2 answers

Error: could not find function - R Programming

Yes, Just like @Maverik said, It happens ...READ MORE

answered Aug 22 in Data Analytics by anonymous
• 31,840 points
5,108 views
0 votes
1 answer

Function to check if matrix empty or not

here is some question of what is ...READ MORE

answered Oct 29, 2018 in Data Analytics by Maverick
• 10,040 points
42 views
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 6 in Python by Neha
• 330 points

edited Jul 8 by Kalgi 349 views
+4 votes
6 answers
0 votes
1 answer

Pycharm error: could not find a version that satisfies the requirement

Check the python version installed. Tensorflow is ...READ MORE

answered May 29 in Data Analytics by Zulaikha
• 870 points
226 views