Syliz517 / CLIP-ReID

Official implementation for "CLIP-ReID: Exploiting Vision-Language Model for Image Re-identification without Concrete Text Labels" (AAAI 2023)
MIT License
258 stars 41 forks source link

Failure to replicate results? #21

Open Betricy opened 11 months ago

Betricy commented 11 months ago

Use the veri data set to train and evaluate. The results are as follows:

2023-10-24 21:53:58,401 transreid.test INFO: Validation Results 2023-10-24 21:53:58,402 transreid.test INFO: mAP: 75.5% 2023-10-24 21:53:58,402 transreid.test INFO: CMC curve, Rank-1 :92.0% 2023-10-24 21:53:58,402 transreid.test INFO: CMC curve, Rank-5 :94.4% 2023-10-24 21:53:58,402 transreid.test INFO: CMC curve, Rank-10 :95.9%

Rank_1 is 4.8% lower than in the paper...I double-checked the configs and ensured that the experiment settings were identical.

For reference, I'm attaching the training logs of the models:

train_log_cnn_prom_veri.txt

Velpro-collab commented 10 months ago

Traceback (most recent call last): File "/media/lele/c/zuozhigang/CLIP_ReID/Base/train_clipreid.py", line 89, in do_train_stage2( File "/media/lele/c/zuozhigang/CLIP_ReID/Base/processor/processor_clipreid_stage2.py", line 98, in do_train_stage2 loss = loss_fn(score, feat, target, target_cam, logits) TypeError: loss_func() takes 3 positional arguments but 5 were given

请问一下,你们有没有遇到这个问题,如果有是怎么解决的?