GIGA icon indicating copy to clipboard operation
GIGA copied to clipboard

Train GIGA

Open ZihanWang0422 opened this issue 2 years ago • 1 comments

When I trained the GIGA, I have this problem

File "/home/wzh/GIGA/src/vgn/dataset_voxel.py", line 98, in read_occ path_idx = torch.randint(high=len(occ_paths), size=(1,), dtype=int).item() RuntimeError: random_ expects 'from' to be less than 'to', but got from=0 >= to=0

I don't know what cause this error. Maybe I fail to save the valid occupancy data?

ZihanWang0422 avatar Sep 13 '23 12:09 ZihanWang0422

I think it means the length of occ_paths is 0. And occ_paths is from here. Maybe you should check the directory to see if the occupancy data is saved.

Steve-Tod avatar Sep 13 '23 22:09 Steve-Tod