ICE icon indicating copy to clipboard operation
ICE copied to clipboard

the accuracy diseases after adding intra-camera loss

Open wqydyh opened this issue 3 years ago • 9 comments

Sorry to bother you ,after adding intra-camera loss,I find the accuracy diseases whichever combination I use .If possible ,would you please tell me the reason ?Thank you very much.

wqydyh avatar May 19 '22 06:05 wqydyh

which loss function does the intra-camera loss conflict with

wqydyh avatar May 19 '22 06:05 wqydyh

Hi. I use a cluster center loss, which already contains intra-camera information. https://github.com/chenhao2345/ICE/blob/a206eb9a97ad431ab9d9cf38cdcf5ab6fdc6ad1c/ice/trainers.py#L151

chenhao2345 avatar May 21 '22 16:05 chenhao2345

So adding the intra-camera loss only makes the model focus more on intra-camera matching.

chenhao2345 avatar May 21 '22 16:05 chenhao2345

thank you very much for your reply

wqydyh avatar May 22 '22 01:05 wqydyh

So adding the intra-camera loss only makes the model focus more on intra-camera matching.

sonrry to bother you again ,i use a batchsize of 32 with two 2080 ti Gpu,but my accuracy rate is 2% lower than yours with the same method.Is it the number of graphics cards that causes the effect,?I noticed that you are also using a 32 size batchsize.

wqydyh avatar May 29 '22 05:05 wqydyh

what's more ,the part of in-tra camera loss has been proved to be useful as well

wqydyh avatar May 29 '22 08:05 wqydyh

I think so. Because my conrigurations are tuned on 4 Gpus, which means 8 images per GPU. This setting usually has some affects on results.

chenhao2345 avatar Jun 02 '22 15:06 chenhao2345

thanks for your reply, I find that themarket 1501 is probably better suited for four cards, while the MSMT17 is better suited for two. With no IBN,the latter can achieve 39.5 mAP with two cards using baseline plus hard losses.Affter adding 0.1 intra camera loss,the mAP can achieve 40.3%.

wqydyh avatar Jun 02 '22 15:06 wqydyh

Thank you. Glad to know this.

chenhao2345 avatar Jun 02 '22 17:06 chenhao2345