Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

input #29

Open
cs19469 opened this issue Dec 5, 2021 · 0 comments
Open

input #29

cs19469 opened this issue Dec 5, 2021 · 0 comments

Comments

@cs19469
Copy link

cs19469 commented Dec 5, 2021

Are there any requirements and restrictions on input, this is my mistake:
Traceback (most recent call last):
File "main.py", line 71, in
predictions = model.predict_generator(generator_test(b_s=1, imgs_test_path=imgs_test_path), nb_imgs_test)
File "D:\tools\Anaconda\set\envs\python37tf\lib\site-packages\keras\engine\training.py", line 1662, in predict_generator
outs = self.predict_on_batch(x)
File "D:\tools\Anaconda\set\envs\python37tf\lib\site-packages\keras\engine\training.py", line 1286, in predict_on_batch
self.internal_input_shapes)
File "D:\tools\Anaconda\set\envs\python37tf\lib\site-packages\keras\engine\training.py", line 73, in standardize_input_data
'Found: ' + str(data)[:200] + '...')
Exception: Error when checking : data should be a Numpy array, or list/dict of Numpy arrays. Found: None...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant