Terry Zhang

Results 31 comments of Terry Zhang

我尝试了一下,调整long_side参数可以增加图像中文本数量,或者用更大的背景图像也可以在一张图中生成更多。但long_side调大会显著降低程序运行速度。

Try disabling xformers, or changing another version. I 've never got NAN since disabling xformers.

market_sct.txt can be easily generated as below: ``` for person A in person ids: collect camera ids of all images of person A; randomly select a camera id C from...

I solve this issue by disabling xformers during training.

The training scripts load models from huggingface (.from_pretrained). If these models haven't been cached in your local storage, you may get error when training offline.

I also meet the same issue, saying "vision_model.xx not used". I believe it will not affect the training, as vision model in CLIP is never used in the text encoder....

代码库里的[market_sct.txt](https://github.com/FlyHighest/Single-Camera-Training-ReID/blob/master/market_sct.txt)和duke_sct.txt已经包含了sct版本数据集的图像信息。您也可以按照 #1 中的伪代码自行sample SCT版本的数据集。

也许可以求一下四个点和左上角(0,0)的距离,距离最近的作为左上角起始点

#2 Try this fix.

The default map_size is too large. It works well on my MacOS, but throws Error on a windows laptop. The max_readers also might be set smaller when reading, especially when...