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

代码运行问题 #27

Open Velpro-collab opened 10 months ago

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

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