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
File "infer.py", line 109, in
user.infer()
File "../../tasks/semantic/modules/user.py", line 93, in infer
to_orig_fn=self.parser.to_original)
File "../../tasks/semantic/modules/user.py", line 110, in infer_subset
for i, (proj_in, proj_mask, _, _, path_seq, path_name, p_x, p_y, proj_range, unproj_range, _, _, _, _, npoints) in enumerate(loader):
File "/home/pc405/anaconda3/envs/rangnetpy36/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 435, in next
data = self._next_data()
File "/home/pc405/anaconda3/envs/rangnetpy36/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 1085, in _next_data
return self._process_data(data)
File "/home/pc405/anaconda3/envs/rangnetpy36/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 1111, in _process_data
data.reraise()
File "/home/pc405/anaconda3/envs/rangnetpy36/lib/python3.6/site-packages/torch/_utils.py", line 428, in reraise
raise self.exc_type(msg)
ValueError: Caught ValueError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "/home/pc405/anaconda3/envs/rangnetpy36/lib/python3.6/site-packages/torch/utils/data/_utils/worker.py", line 198, in _worker_loop
data = fetcher.fetch(index)
File "/home/pc405/anaconda3/envs/rangnetpy36/lib/python3.6/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/pc405/anaconda3/envs/rangnetpy36/lib/python3.6/site-packages/torch/utils/data/_utils/fetch.py", line 44, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "../..//tasks/semantic/dataset/kitti/parser.py", line 132, in getitem
scan.open_scan(scan_file)
File "../../common/laserscan.py", line 78, in open_scan
scan = scan.reshape((-1, 5))
ValueError: cannot reshape array of size 498672 into shape (5)
现在这里报错,我是应该把5改回4吗
The text was updated successfully, but these errors were encountered:
File "infer.py", line 109, in
user.infer()
File "../../tasks/semantic/modules/user.py", line 93, in infer
to_orig_fn=self.parser.to_original)
File "../../tasks/semantic/modules/user.py", line 110, in infer_subset
for i, (proj_in, proj_mask, _, _, path_seq, path_name, p_x, p_y, proj_range, unproj_range, _, _, _, _, npoints) in enumerate(loader):
File "/home/pc405/anaconda3/envs/rangnetpy36/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 435, in next
data = self._next_data()
File "/home/pc405/anaconda3/envs/rangnetpy36/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 1085, in _next_data
return self._process_data(data)
File "/home/pc405/anaconda3/envs/rangnetpy36/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 1111, in _process_data
data.reraise()
File "/home/pc405/anaconda3/envs/rangnetpy36/lib/python3.6/site-packages/torch/_utils.py", line 428, in reraise
raise self.exc_type(msg)
ValueError: Caught ValueError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "/home/pc405/anaconda3/envs/rangnetpy36/lib/python3.6/site-packages/torch/utils/data/_utils/worker.py", line 198, in _worker_loop
data = fetcher.fetch(index)
File "/home/pc405/anaconda3/envs/rangnetpy36/lib/python3.6/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/pc405/anaconda3/envs/rangnetpy36/lib/python3.6/site-packages/torch/utils/data/_utils/fetch.py", line 44, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "../..//tasks/semantic/dataset/kitti/parser.py", line 132, in getitem
scan.open_scan(scan_file)
File "../../common/laserscan.py", line 78, in open_scan
scan = scan.reshape((-1, 5))
ValueError: cannot reshape array of size 498672 into shape (5)
现在这里报错,我是应该把5改回4吗
The text was updated successfully, but these errors were encountered: