FewX
FewX copied to clipboard
IndexError: list index out of range
When I add a new class to my training set,I run sh all_sh,There was an error: query_cls = self.support_df.loc[self.support_df['id']==id, 'category_id'].tolist()[0] # they share the same category_id and image_id IndexError: list index out of range I checked my dataset_dict and support_df and didn't find anything wrong,so I am confused. Can you give me some advice
When I add a new class to my training set,I run sh all_sh,There was an error: query_cls = self.support_df.loc[self.support_df['id']==id, 'category_id'].tolist()[0] # they share the same category_id and image_id IndexError: list index out of range I checked my dataset_dict and support_df and didn't find anything wrong,so I am confused. Can you give me some advice
I have encountered with the same error, too. Could you give us some advice? @fanq15
I changed the JSON file in the registration dataset and it worked out.
Facing the same issue. Could you please elaborate on the fix?
I changed the JSON file in the registration dataset and it worked out.
I encountered the same problem. Can you elaborate on your solution? @rhqian