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 only down load the t-less datasets, and follow your step
But I find there exactly no exit pcd files. It only exits ply files.
So how can I solve it.
here is my run results
init gps:0
init gps:1
[Open3D WARNING] Read PCD failed: unable to open file: ./datasets/tless/models/1.pcd
utput: 1 0 3
[Open3D WARNING] Read PCD failed: unable to open file: ./datasets/tless/models/1.pcd
utput: 1 0 3
Traceback (most recent call last):
File "train.py", line 474, in <module>
main()
File "train.py", line 115, in main
mp.spawn(per_processor, nprocs=opt.gpu_number, args=(opt,))
File "/home/ailab/anaconda3/envs/yy_ES6D/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 199, in spawn
return start_processes(fn, args, nprocs, join, daemon, start_method='spawn')
File "/home/ailab/anaconda3/envs/yy_ES6D/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 157, in start_processes
while not context.join():
File "/home/ailab/anaconda3/envs/yy_ES6D/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 118, in join
raise Exception(msg)
Exception:
-- Process 1 terminated with the following error:
Traceback (most recent call last):
File "/home/ailab/anaconda3/envs/yy_ES6D/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 19, in _wrap
fn(i, *args)
File "/media/ailab/data/yy/ES6D-master/train.py", line 231, in per_processor
dataset = pose_dataset('train', opt.num_points, opt.dataset_root, True, opt.noise_trans)
File "/media/ailab/data/yy/ES6D-master/datasets/tless/tless_dataset.py", line 62, in __init__
xyz_ids = farthest_point_sample(raw_xyz, num_pt).cpu().numpy()
File "/media/ailab/data/yy/ES6D-master/datasets/tless/tless_dataset.py", line 223, in farthest_point_sample
farthest = torch.randint(0, N, (B,), dtype=torch.long).to(device)
RuntimeError: random_ expects 'from' to be less than 'to', but got from=0 >= to=0
The text was updated successfully, but these errors were encountered:
yuheyuan
changed the title
Read PCD failed: unable to open file: ./datasets/tless/models/1.pcd
I,meet problem when run train.py. Read PCD failed: unable to open file: ./datasets/tless/models/1.pcd
Jul 23, 2022
yuheyuan
changed the title
I,meet problem when run train.py. Read PCD failed: unable to open file: ./datasets/tless/models/1.pcd
hi, I,meet problem when run train.py. Read PCD failed: unable to open file: ./datasets/tless/models/1.pcd
Jul 23, 2022
When I run
it will occours
I only down load the t-less datasets, and follow your step
But I find there exactly no exit pcd files. It only exits ply files.
So how can I solve it.
here is my run results
init gps:0 init gps:1 [Open3D WARNING] Read PCD failed: unable to open file: ./datasets/tless/models/1.pcd utput: 1 0 3 [Open3D WARNING] Read PCD failed: unable to open file: ./datasets/tless/models/1.pcd utput: 1 0 3 Traceback (most recent call last): File "train.py", line 474, in <module> main() File "train.py", line 115, in main mp.spawn(per_processor, nprocs=opt.gpu_number, args=(opt,)) File "/home/ailab/anaconda3/envs/yy_ES6D/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 199, in spawn return start_processes(fn, args, nprocs, join, daemon, start_method='spawn') File "/home/ailab/anaconda3/envs/yy_ES6D/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 157, in start_processes while not context.join(): File "/home/ailab/anaconda3/envs/yy_ES6D/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 118, in join raise Exception(msg) Exception: -- Process 1 terminated with the following error: Traceback (most recent call last): File "/home/ailab/anaconda3/envs/yy_ES6D/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 19, in _wrap fn(i, *args) File "/media/ailab/data/yy/ES6D-master/train.py", line 231, in per_processor dataset = pose_dataset('train', opt.num_points, opt.dataset_root, True, opt.noise_trans) File "/media/ailab/data/yy/ES6D-master/datasets/tless/tless_dataset.py", line 62, in __init__ xyz_ids = farthest_point_sample(raw_xyz, num_pt).cpu().numpy() File "/media/ailab/data/yy/ES6D-master/datasets/tless/tless_dataset.py", line 223, in farthest_point_sample farthest = torch.randint(0, N, (B,), dtype=torch.long).to(device) RuntimeError: random_ expects 'from' to be less than 'to', but got from=0 >= to=0
The text was updated successfully, but these errors were encountered: