Zasder3 / train-CLIP

A PyTorch Lightning solution to training OpenAI's CLIP from scratch.
MIT License
653 stars 78 forks source link

Type Error while training #34

Open rishav1122 opened 2 years ago

rishav1122 commented 2 years ago

File "/home/rishabh/Rishabclip/lib/python3.6/site-packages/transformers/tokenization_utils_base.py", line 2430, in call "text input must of typestr(single example),List[str](batch or single pretokenized example) " ValueError: text input must of typestr(single example),List[str](batch or single pretokenized example) orList[List[str]](batch of pretokenized examples).

Could you provide what are the versions of tokenizer and torch used in your code