Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Train GIGA #28

Closed
ZihanWang0422 opened this issue Sep 13, 2023 · 1 comment
Closed

Train GIGA #28

ZihanWang0422 opened this issue Sep 13, 2023 · 1 comment

Comments

@ZihanWang0422
Copy link

ZihanWang0422 commented Sep 13, 2023

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?

@Steve-Tod
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants