hagrid icon indicating copy to clipboard operation
hagrid copied to clipboard

N-shot Training

Open kerem0comert opened this issue 1 year ago • 1 comments

Hello, I would very simply like to train a model with the subsample you provide. I could get it to run by following the README. At the root of the project I have: ann_subsample/ subsample/ which I simply downloaded from the README and extracted. From the root of the project, I am running:

python -m classifier.run --command train --path_to_config classifier/config/default.yaml

At this point, I am able to train.

However, I would also like to train n-shot models, where I take n<5 samples per class and train with it. Then I would like to test this model. What would be the procedure for this? Because from what I see, no parameter to set train_test_percentage is provided in default.yaml. Ideally I would like to set train percentage at 1 in training (where the dataset is a subsample of let's say 3 images per gesture class) and then test it on another dataset (perhaps the test that you already provide) How can I achieve this? Thanks!

kerem0comert avatar May 19 '23 16:05 kerem0comert