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
Error of "model.predict_generator" #3
Comments
我用的版本是 Keras 1.2.2,你可以用这个命令安装这个版本的Keras: pip install keras==1.2.2 |
@ypwhs Thanks! |
@ycjing, Replace nb_sample with samples. |
@syeddanish41 Thanks for your reply. But I find that the I tried replace |
你好,我运行了下,出现了两个错误 1、OSError: [Errno 22] Invalid argument: 'train2\cat\cat.0.jpg' 2、TypeError: Error when checking : data should be a Numpy array, or list/dict of Numpy arrays. Found: None... |
Hi, thanks for the great code. It is great for a beginner of Keras, like me. But I found some errors when I run the code. In gap.py, the terminal reports that "AttributeError: 'DirectoryIterator' object has no attribute 'nb_sample'". I wonder if it is due to the different versions of keras and is there any solutions to this? Thanks ahead of time!
The text was updated successfully, but these errors were encountered: