-
Notifications
You must be signed in to change notification settings - Fork 51
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
The program did not finish running an epoch, a path error occurred. #7
Comments
@emily19941102 What is the problem exactly? It seems that the training of this epoch has been finished, but problems occur during the process of testing or saving models. |
The problem began when the first epoch didn't end during training.Basically, there was a path error, but I checked the path.The same thing happens when I make the data set smaller or different modes. |
@GuangmingZhu Traceback (most recent call last): File "", line 1, in File "E:\anaconda\envs\tensorflow\lib\site-packages\spyder\utils\site\sitecustomize.py", line 705, in runfile File "E:\anaconda\envs\tensorflow\lib\site-packages\spyder\utils\site\sitecustomize.py", line 102, in execfile File "F:/IsoGD/AttentionConvLSTM-master/training_res3d_clstm_mobilenet.py", line 120, in File "E:\anaconda\envs\tensorflow\lib\site-packages\tensorflow\python\keras\engine\training.py", line 1779, in fit_generator File "E:\anaconda\envs\tensorflow\lib\site-packages\tensorflow\python\keras\engine\training_generator.py", line 225, in fit_generator File "E:\anaconda\envs\tensorflow\lib\site-packages\tensorflow\python\keras\engine\training_generator.py", line 336, in evaluate_generator File "E:\anaconda\envs\tensorflow\lib\site-packages\tensorflow\python\keras\engine\training.py", line 1596, in test_on_batch File "E:\anaconda\envs\tensorflow\lib\site-packages\tensorflow\python\keras\engine\training.py", line 878, in _standardize_user_data File "E:\anaconda\envs\tensorflow\lib\site-packages\tensorflow\python\keras\engine\training_utils.py", line 182, in standardize_input_data ValueError: Error when checking input: expected input_3 to have 5 dimensions, but got array with shape (2, 1) |
@emily19941102 You may double-check the path of the test subset. |
@emily19941102@GuangmingZhu Traceback (most recent call last): |
@peach2wanzi You can print the shape of the input before feeding it into the Input Layer. I guess that something may be wrong when you read images for the input of this iteration, so that this iteration does not has the right input. Before training, you can double check the existance of all images using a shell script or a python program. |
The program did not finish running an epoch, a path error occurred.I checked the dataset and there was no problem.I made the data set smaller, and it will give an error when executing 49/50, and this problem will also occur when executing 79/80.Thanks!
@GuangmingZhu
The text was updated successfully, but these errors were encountered: