chenhao2345 / ICE

Implementation for ICCV 2021 paper "ICE: Inter-instance Contrastive Encoding for Unsupervised Person Re-identification"
MIT License
44 stars 15 forks source link

About camera agnostic #4

Closed YangJae96 closed 2 years ago

YangJae96 commented 2 years ago

Hello. Thank you for your great work.

How can I set the camera-aware or camera-agnostic during training?

For example, I do not want to use the camera ID in your method.

Is camera-agnostic not using camera ID at all??

chenhao2345 commented 2 years ago

Hi. You can simply remove loss_cam in trainers.py so that it will not optimize camera-aware loss. https://github.com/chenhao2345/ICE/blob/a206eb9a97ad431ab9d9cf38cdcf5ab6fdc6ad1c/ice/trainers.py#L161

YangJae96 commented 2 years ago

Thank you!!