shanice-l / gdrnpp_bop2022

PyTorch Implementation of GDRNPP, winner (most of the awards) of the BOP Challenge 2022 at ECCV'22
Apache License 2.0
229 stars 49 forks source link

Non-converging region loss #70

Open jabarragann opened 1 year ago

jabarragann commented 1 year ago

Hi,

First of all, thanks for publicly releasing this great work! For my work, I tried to use GDRNet to do 6D pose detection of surgical needles. I adapted my dataset to the BOP format and got the network to train. The trained network is already giving me some significant good results, and the only problem that I noticed is that one of the loss functions for the network (loss_region) never actually improved, which is making the total loss also look bad.

I compared this against a training plot from TUDL, which definitely shows some better behavior. See below the TUDL training plots and my custom dataset training plots. Would anybody be able to give some pointers on why the loss_region looks so bad for my custom dataset? Again, I am already getting some relatively good pose results, but I would definitely want to get the network as optimal as possible.

Some additional details that might or might be relevant:

Any help or suggestion would be much appreciated!

My custom dataset training plots image

TUDL dataset training plots image

shanice-l commented 10 months ago

We generate regions from the object model. You can check the code in data_loader for region generation and visualize them in batch_data_utils.py.

cnalty commented 9 months ago

I'm having a similar problem and I've tried searching for batch_data_utils.py, but I can' see to find a file in the repository with that name

utsavrai commented 4 weeks ago

I am facing similar problem and could not make it work