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
(CNN) hurui@hurui:~/Humanoid/train$ python train.py -c config.json
2020-03-31 16:44:56,099 epoch: 0
Exception in thread Thread-2:
Traceback (most recent call last):
File "/home/anaconda3/envs/CNN/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/home/anaconda3/envs/CNN/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "/home/Humanoid/train/loader.py", line 163, in next_batch_producer
self.load_pickles(paths_to_load)
File "/home/Humanoid/train/loader.py", line 119, in load_pickles
stacked_images = np.stack([np.zeros_like(input_data[trace_key][0][0], dtype=np.float32)] * (self.frame_num - 1) + [x[0] for x in input_data[trace_key]], axis=0)
File "/home/anaconda3/envs/CNN/lib/python3.6/site-packages/numpy/core/shape_base.py", line 415, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
非常感谢!
The text was updated successfully, but these errors were encountered:
你好,我在train的时候产生了这个问题:
(CNN) hurui@hurui:~/Humanoid/train$ python train.py -c config.json
2020-03-31 16:44:56,099 epoch: 0
Exception in thread Thread-2:
Traceback (most recent call last):
File "/home/anaconda3/envs/CNN/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/home/anaconda3/envs/CNN/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "/home/Humanoid/train/loader.py", line 163, in next_batch_producer
self.load_pickles(paths_to_load)
File "/home/Humanoid/train/loader.py", line 119, in load_pickles
stacked_images = np.stack([np.zeros_like(input_data[trace_key][0][0], dtype=np.float32)] * (self.frame_num - 1) + [x[0] for x in input_data[trace_key]], axis=0)
File "/home/anaconda3/envs/CNN/lib/python3.6/site-packages/numpy/core/shape_base.py", line 415, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
非常感谢!
The text was updated successfully, but these errors were encountered: