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
I'm a beginner,and i got those issues,what that means?
gine/training.py", line 429, in data_generator_task
generator_output = next(self._generator)
File "/Users/zhangfei/anaconda3/envs/venv/lib/python3.5/site-packages/keras/preprocessing/image.py", line 662, in next
return self.next(*args, **kwargs)
File "/Users/zhangfei/anaconda3/envs/venv/lib/python3.5/site-packages/keras/preprocessing/image.py", line 708, in next
index_array, current_index, current_batch_size = next(self.index_generator)
File "/Users/zhangfei/anaconda3/envs/venv/lib/python3.5/site-packages/keras/preprocessing/image.py", line 645, in _flow_index
current_index = (self.batch_index * batch_size) % n
ZeroDivisionError: integer division or modulo by zero
Traceback (most recent call last):
File "boss_train.py", line 178, in
model.train(dataset, nb_epoch=10)
File "boss_train.py", line 143, in train
validation_data=(dataset.X_valid, dataset.Y_valid))
File "/Users/zhangfei/anaconda3/envs/venv/lib/python3.5/site-packages/keras/models.py", line 935, in fit_generator
initial_epoch=initial_epoch)
File "/Users/zhangfei/anaconda3/envs/venv/lib/python3.5/site-packages/keras/engine/training.py", line 1600, in fit_generator
callbacks.on_epoch_end(epoch, epoch_logs)
UnboundLocalError: local variable 'epoch_logs' referenced before assignment
The text was updated successfully, but these errors were encountered:
I'm a beginner,and i got those issues,what that means?
gine/training.py", line 429, in data_generator_task
generator_output = next(self._generator)
File "/Users/zhangfei/anaconda3/envs/venv/lib/python3.5/site-packages/keras/preprocessing/image.py", line 662, in next
return self.next(*args, **kwargs)
File "/Users/zhangfei/anaconda3/envs/venv/lib/python3.5/site-packages/keras/preprocessing/image.py", line 708, in next
index_array, current_index, current_batch_size = next(self.index_generator)
File "/Users/zhangfei/anaconda3/envs/venv/lib/python3.5/site-packages/keras/preprocessing/image.py", line 645, in _flow_index
current_index = (self.batch_index * batch_size) % n
ZeroDivisionError: integer division or modulo by zero
Traceback (most recent call last):
File "boss_train.py", line 178, in
model.train(dataset, nb_epoch=10)
File "boss_train.py", line 143, in train
validation_data=(dataset.X_valid, dataset.Y_valid))
File "/Users/zhangfei/anaconda3/envs/venv/lib/python3.5/site-packages/keras/models.py", line 935, in fit_generator
initial_epoch=initial_epoch)
File "/Users/zhangfei/anaconda3/envs/venv/lib/python3.5/site-packages/keras/engine/training.py", line 1600, in fit_generator
callbacks.on_epoch_end(epoch, epoch_logs)
UnboundLocalError: local variable 'epoch_logs' referenced before assignment
The text was updated successfully, but these errors were encountered: