Hi, a saw next code in MyDataset in file tutorial_train_faceid.py:
self.data = json.load(open(json_file)) # list of dict: [{"image_file": "1.png", "id_embed_file": "faceid.bin"}]
There is no field 'text', but in __get_item__ method of this Dataset a see:
item = self.data[idx] text = item["text"]
So, should a have a text caption for each image in dataset or no? What should be written there?
Hi, a saw next code in MyDataset in file tutorial_train_faceid.py:
self.data = json.load(open(json_file)) # list of dict: [{"image_file": "1.png", "id_embed_file": "faceid.bin"}]
There is no field 'text', but in __get_item__ method of this Dataset a see:item = self.data[idx] text = item["text"]
So, should a have a text caption for each image in dataset or no? What should be written there?