New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
custom Data #44
Comments
Hi! Your question is not entirely clear to me. Do you mean to use CUB or custom data? In any case, the EasySet class, along with its docstring, is here. Following this doc, if you mean to use custom data with two classes, you need to provide a JSON specification file like this: {
"class_names": [
"class_1_name",
"class_2_name"
],
"class_roots": [
"path/to/class_1_folder",
"path/to/class_2_folder"
]
} With all images for the first class being located in Did I answer your question? |
Epoch 0 |
This error occurs when the number of items in a class is smaller than CUB is implemented on |
So now when I am trying on my dataset, I first had 2 classes only, but I divided it into 6 classes naming train test and val for both the classes with different data. but I am still facing the same issue if I have to specify the number of images in all the classes will be then in total in one class 1 had 144 images which were divided into 3 classes 28 for testing 28 for validation and 140 for training. |
There are two possible causes for this error:
In your case, you'll have to specify Also, it seems that your setting (2 classes, same classes for training and testing, many examples per class) is far from the standard Few-Shot Learning setting. May I ask why you're using FSL on this dataset? |
the data for one of the class is low so I thought I should give few shot a try can you suggest something which could help in my case ? |
I want to train this model on custom data but I did not understand the split for CUB and I could not even get documentation on EasySet ? do you know where it is ?
i just have 2 classes in my data btw
The text was updated successfully, but these errors were encountered: