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
Epoch 1/10
Traceback (most recent call last):
File "model.py", line 164, in
main()
File "model.py", line 160, in main
train_model(model, args, *data)
File "model.py", line 121, in train_model
verbose=1)
File "/home/dell/anaconda3/envs/Automata-nali/lib/python3.6/site-packages/keras/legacy/interfaces.py", line 91, in wrapper
return func(*args, **kwargs)
File "/home/dell/anaconda3/envs/Automata-nali/lib/python3.6/site-packages/keras/engine/training.py", line 1732, in fit_generator
initial_epoch=initial_epoch)
File "/home/dell/anaconda3/envs/Automata-nali/lib/python3.6/site-packages/keras/engine/training_generator.py", line 185, in fit_generator
generator_output = next(output_generator)
File "/home/dell/anaconda3/envs/Automata-nali/lib/python3.6/site-packages/keras/utils/data_utils.py", line 742, in get
six.reraise(*sys.exc_info())
File "/home/dell/anaconda3/envs/Automata-nali/lib/python3.6/site-packages/six.py", line 693, in reraise
raise value
File "/home/dell/anaconda3/envs/Automata-nali/lib/python3.6/site-packages/keras/utils/data_utils.py", line 711, in get
inputs = future.get(timeout=30)
File "/home/dell/anaconda3/envs/Automata-nali/lib/python3.6/multiprocessing/pool.py", line 644, in get
raise self._value
File "/home/dell/anaconda3/envs/Automata-nali/lib/python3.6/multiprocessing/pool.py", line 119, in worker
result = (True, func(*args, **kwds))
File "/home/dell/anaconda3/envs/Automata-nali/lib/python3.6/site-packages/keras/utils/data_utils.py", line 650, in next_sample
return six.next(_SHARED_SEQUENCES[uid])
File "/Lun3/nali/How_to_simulate_a_self_driving_car-master/utils.py", line 51, in batch_generator
image = load_image(data_dir, center)
File "/Lun3/nali/How_to_simulate_a_self_driving_car-master/utils.py", line 10, in load_image
return mpimg.imread(os.path.join(data_dir, image_file.strip()))
AttributeError: 'numpy.ndarray' object has no attribute 'strip'
The text was updated successfully, but these errors were encountered:
Epoch 1/10
Traceback (most recent call last):
File "model.py", line 164, in
main()
File "model.py", line 160, in main
train_model(model, args, *data)
File "model.py", line 121, in train_model
verbose=1)
File "/home/dell/anaconda3/envs/Automata-nali/lib/python3.6/site-packages/keras/legacy/interfaces.py", line 91, in wrapper
return func(*args, **kwargs)
File "/home/dell/anaconda3/envs/Automata-nali/lib/python3.6/site-packages/keras/engine/training.py", line 1732, in fit_generator
initial_epoch=initial_epoch)
File "/home/dell/anaconda3/envs/Automata-nali/lib/python3.6/site-packages/keras/engine/training_generator.py", line 185, in fit_generator
generator_output = next(output_generator)
File "/home/dell/anaconda3/envs/Automata-nali/lib/python3.6/site-packages/keras/utils/data_utils.py", line 742, in get
six.reraise(*sys.exc_info())
File "/home/dell/anaconda3/envs/Automata-nali/lib/python3.6/site-packages/six.py", line 693, in reraise
raise value
File "/home/dell/anaconda3/envs/Automata-nali/lib/python3.6/site-packages/keras/utils/data_utils.py", line 711, in get
inputs = future.get(timeout=30)
File "/home/dell/anaconda3/envs/Automata-nali/lib/python3.6/multiprocessing/pool.py", line 644, in get
raise self._value
File "/home/dell/anaconda3/envs/Automata-nali/lib/python3.6/multiprocessing/pool.py", line 119, in worker
result = (True, func(*args, **kwds))
File "/home/dell/anaconda3/envs/Automata-nali/lib/python3.6/site-packages/keras/utils/data_utils.py", line 650, in next_sample
return six.next(_SHARED_SEQUENCES[uid])
File "/Lun3/nali/How_to_simulate_a_self_driving_car-master/utils.py", line 51, in batch_generator
image = load_image(data_dir, center)
File "/Lun3/nali/How_to_simulate_a_self_driving_car-master/utils.py", line 10, in load_image
return mpimg.imread(os.path.join(data_dir, image_file.strip()))
AttributeError: 'numpy.ndarray' object has no attribute 'strip'
The text was updated successfully, but these errors were encountered: