You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello I have successfully trained with lstm and trying to run validate_rnn.py
getting the following input shape error.. Please guide … How I need to make changes input?
Traceback (most recent call last):
File "validate_rnn.py", line 55, in
main()
File "validate_rnn.py", line 52, in main
image_shape=image_shape, class_limit=4)
File "validate_rnn.py", line 34, in validate
val_samples=3200)
File "C:\venv\lib\site-packages\keras\legacy\interfaces.py", line 88, in wrapper
return func(*args, **kwargs)
File "C:\venv\lib\site-packages\keras\engine\training.py", line 2021, in evaluate_generator
outs = self.test_on_batch(x, y, sample_weight=sample_weight)
File "C:\venv\lib\site-packages\keras\engine\training.py", line 1678, in test_on_batch
check_batch_axis=True)
File "C:\venv\lib\site-packages\keras\engine\training.py", line 1311, in _standardize_user_data
exception_prefix='input')
File "C:\venv\lib\site-packages\keras\engine\training.py", line 127, in _standardize_input_data
str(array.shape))
ValueError: Error when checking input: expected input_1 to have 4 dimensions, but got array with shape (32, 40, 2048)
I am new to deeplearing
Anyone one please help
Thanks in advance
The text was updated successfully, but these errors were encountered:
Hello I have successfully trained with lstm and trying to run validate_rnn.py
getting the following input shape error.. Please guide … How I need to make changes input?
Traceback (most recent call last):
File "validate_rnn.py", line 55, in
main()
File "validate_rnn.py", line 52, in main
image_shape=image_shape, class_limit=4)
File "validate_rnn.py", line 34, in validate
val_samples=3200)
File "C:\venv\lib\site-packages\keras\legacy\interfaces.py", line 88, in wrapper
return func(*args, **kwargs)
File "C:\venv\lib\site-packages\keras\engine\training.py", line 2021, in evaluate_generator
outs = self.test_on_batch(x, y, sample_weight=sample_weight)
File "C:\venv\lib\site-packages\keras\engine\training.py", line 1678, in test_on_batch
check_batch_axis=True)
File "C:\venv\lib\site-packages\keras\engine\training.py", line 1311, in _standardize_user_data
exception_prefix='input')
File "C:\venv\lib\site-packages\keras\engine\training.py", line 127, in _standardize_input_data
str(array.shape))
ValueError: Error when checking input: expected input_1 to have 4 dimensions, but got array with shape (32, 40, 2048)
I am new to deeplearing
Anyone one please help
Thanks in advance
The text was updated successfully, but these errors were encountered: