HanHan55/Graph2plan

Getting IndexError: index 208 is out of bounds for acis 0 with size 208, while training

Closed this issue · 2 comments

Hello, I am receiving this issue as well,
The index in which the error occurs changes when the batch size and number of workers is changed.

image

This is the log from when it crashes.
Looks like either training data: 27184 or 75591
Thanks in advance!

Originally posted by @LucaJeevanjee in #7 (comment)

Sorry, I forgot to update the code for that issue. Try the latest commit. It just add some clamping in line 162 of floorplan.py.

Sorry, I forgot to update the code for that issue. Try the latest commit. It just add some clamping in line 162 of floorplan.py.

Awesome, thanks, its working now and congrats, awesome project.

Do you have any suggestions to stop me from running out of memory when training?

I'm using the multi gpu but CUDA is running out of memory on GPU 0 after the 2nd epoch. I'm using batch size 8 and 4 workers