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

Epoch17 Must be an error #101

Open
ouyang-yuxuan opened this issue Jan 22, 2022 · 0 comments
Open

Epoch17 Must be an error #101

ouyang-yuxuan opened this issue Jan 22, 2022 · 0 comments

Comments

@ouyang-yuxuan
Copy link

Python 3.6.8
TensorFlow 1.10.0
Numpy 1.15.0
Keras 2.2.2
Matplotlib 2.2.2

Even with the old run.py It will still stop running at Epoch 17
Maybe it's my memory or something? Does anyone have this condition.

"training": {
	"epochs": 100,
	"batch_size": 32
}

Epoch 17/100
1/130 [..............................] - ETA: 31s - loss: 0.0204
2/130 [..............................] - ETA: 30s - loss: 0.0192
3/130 [..............................] - ETA: 30s - loss: 0.0211
4/130 [..............................] - ETA: 30s - loss: 0.0272
5/130 [>.............................] - ETA: 29s - loss: 0.0254
6/130 [>.............................] - ETA: 29s - loss: 0.0255
7/130 [>.............................] - ETA: 29s - loss: 0.0241
8/130 [>.............................] - ETA: 29s - loss: 0.0237
9/130 [=>............................] - ETA: 28s - loss: 0.0237
10/130 [=>............................] - ETA: 28s - loss: 0.0243
11/130 [=>............................] - ETA: 28s - loss: 0.0255
12/130 [=>............................] - ETA: 28s - loss: 0.0259
13/130 [==>...........................] - ETA: 27s - loss: 0.0260
14/130 [==>...........................] - ETA: 27s - loss: 0.0254Traceback (most recent call last):
File "D:\Develop\DevelopmentTool\Python\368\lib\code.py", line 91, in runcode
exec(code, self.locals)
File "", line 1, in
File "D:\Develop\DevelopmentTool\PyCharm 2021.3.1\plugins\python\helpers\pydev_pydev_bundle\pydev_umd.py", line 198, in runfile
pydev_imports.execfile(filename, global_vars, local_vars) # execute the script
File "D:\Develop\DevelopmentTool\PyCharm 2021.3.1\plugins\python\helpers\pydev_pydev_imps_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "D:/Develop/Project/Py/LSTMNeuralNetworkforTimeSeriesPrediction/shny-run.py", line 93, in
main()
File "D:/Develop/Project/Py/LSTMNeuralNetworkforTimeSeriesPrediction/shny-run.py", line 75, in main
save_dir=configs['model']['save_dir']
File "D:\Develop\Project\Py\LSTMNeuralNetworkforTimeSeriesPrediction\core\model.py", line 83, in train_generator
workers=1
File "D:\Develop\Project\Py\LSTMNeuralNetworkforTimeSeriesPrediction\venv368\lib\site-packages\keras\legacy\interfaces.py", line 91, in wrapper
return func(*args, **kwargs)
File "D:\Develop\Project\Py\LSTMNeuralNetworkforTimeSeriesPrediction\venv368\lib\site-packages\keras\engine\training.py", line 1415, in fit_generator
initial_epoch=initial_epoch)
File "D:\Develop\Project\Py\LSTMNeuralNetworkforTimeSeriesPrediction\venv368\lib\site-packages\keras\engine\training_generator.py", line 177, in fit_generator
generator_output = next(output_generator)
File "D:\Develop\Project\Py\LSTMNeuralNetworkforTimeSeriesPrediction\venv368\lib\site-packages\keras\utils\data_utils.py", line 785, in get
raise StopIteration()
StopIteration

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