Deep_Object_Pose icon indicating copy to clipboard operation
Deep_Object_Pose copied to clipboard

Loss gets stuck

Open javierrodenas opened this issue 4 years ago • 6 comments

Hello,

I am experimenting the following issue:

image

It is getting stuck around 0.006-0.005. Does it happen to you? It doe not matter which kind of dataset I use, the behavior is the same.

Thank you in advance

javierrodenas avatar Nov 24 '21 15:11 javierrodenas

I am not sure, what sort of GPU do you have? Which data are you using?

TontonTremblay avatar Nov 24 '21 16:11 TontonTremblay

I am using the 2080 RTX Ti (12 GB).

On the other hand, I am using this data currently (some examples): 009060 009062

My experience with this environment is that it does not matter which data I use, the loss is always around 0.005

javierrodenas avatar Nov 25 '21 08:11 javierrodenas

I was testing different parameters with same type of data:

Green: learning_rate 0.0001 and batch_size 16 Blue: learning_rate 0.001 and batch_size 8

TOTAL TRAIN LOSS image

AFFINITY TRAIN LOSS

image

BELIEF MAPS TRAIN LOSS

image

The result of train loss is more of less the same and it gets stuck around 0.005 (TOTAL LOSS).

Any recommendation? Did you see this behavior before?

Thank you in advance!

javierrodenas avatar Nov 26 '21 12:11 javierrodenas

It might be caused by the slightly symmetrical object. Do you have non symmetrical object to try on?

TontonTremblay avatar Nov 26 '21 16:11 TontonTremblay

I can try with non symetrical object.

Another possible issue here could be the color. I comment that because in another github issue I saw a guy who was playing with different color cubes #128. Could my color be an issue? It is white/light grey.

I removed the noise and the loss got to 0.003 (It decreased from 0.005 to 0.003) but it is not able to detect the piece during the predictions

javierrodenas avatar Nov 29 '21 15:11 javierrodenas

can you share how the belief maps look like?

TontonTremblay avatar Dec 01 '21 18:12 TontonTremblay