CLIPSelf icon indicating copy to clipboard operation
CLIPSelf copied to clipboard

ValueError: assignment destination is read-only

Open SuleBai opened this issue 10 months ago • 3 comments

Hi, thanks for your great work.

When I try to reproduce the results using command below

bash scripts/train_clipself_coco_image_patches_eva_vitl14.sh

I ran into the error ValueError: assignment destination is read-only, and refers to this line https://github.com/wusize/CLIPSelf/blob/1c7fe9c5c38d800903d4754a89d7a8fcc7977101/src/training/data.py#L370

Is there any bug in this code or what should I do to avoid this bug?

Thanks.

SuleBai avatar Apr 03 '24 05:04 SuleBai