-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Thank you for sharing the work!
I tried running the code and training worked fine (high accuracy for both edges and points).
However, testing showed bad results. For the default batch_size of 1 it crashed (it seems like in a lot of cases, no points or edges can be detected and there is an empty tensor error). For a batch_size of 64 it works, but I get the following metrics:
>python train.py --gpu=2 --extra_tag pts66
epochs: 100%|█| 90/90 [4:17:20<00:00, 171.56s/it, pts_acc=0.956, edge_acc=1, pts_cls_loss=0.209, pts_offset_loss=0.122, pts_loss=0.33, refine_offset_loss=0.0202, refine_loss=0.0202, edge_cls_loss=0.00586, edge_loss=0.00586
>python test.py --gpu=2 --test_tag pts66 --batch_size 64
test: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 25/25 [00:13<00:00, 1.90it/s]
2024-10-07 14:31:02,548 INFO pts_recall: 0.093226
2024-10-07 14:31:02,549 INFO pts_precision: 0.110749
2024-10-07 14:31:02,549 INFO pts_bias: 0.288388, 0.315627, 0.224667
2024-10-07 14:31:02,549 INFO edge_recall: 0.326824
2024-10-07 14:31:02,549 INFO edge_precision: 0.365887
Is this to be expected or do you have any ideas how to fix it? What values should be reached here?
I tried with pytorch 1.11 and 2.4, and adapted the cuda code from THC to ATen, which might be a breaking point (https://github.com/rabbitholejourneys/Point2Roof/tree/pytorch24).
Furthermore, I tried to run the testing in training mode as training worked fine, but the results did not get better.