MAML-Pytorch icon indicating copy to clipboard operation
MAML-Pytorch copied to clipboard

About accuracy

Open feisichen opened this issue 1 year ago • 6 comments

ec2e2e5eb9e69b0cd678e1af2f1ffa33

I trained the model using my own dataset.Does this mean that I have achieved 79.6% accuracy in few-shot classification? But I have only trained for ten minutes. . .I'm sure I didn't put the test set into the training set.

feisichen avatar Apr 17 '23 15:04 feisichen

Actually,your test set will be finetuned (train 10 steps for each support set) after every 500 steps training on training set. So you can see the acc growth from 0,2615 to 0.796 via 10 steps finetune.

sevenHsu avatar Apr 19 '23 09:04 sevenHsu

Thank you. Are the support and query sets automatically split from the test set?

feisichen avatar Apr 20 '23 06:04 feisichen

They were randomly selected from each task test dataset.

sevenHsu avatar Apr 24 '23 08:04 sevenHsu

Hello, where did you get those csv files in your miniimagenet dataset?

LittleShuo avatar Sep 21 '23 10:09 LittleShuo

Hello, where did you get those csv files in your miniimagenet dataset?

Sorry, I didn't use the miniimagenet dataset, so I'm not very familiar with it. I'm using my own dataset, where the images for each category are placed in their respective folders. So, I wrote a simple Python program to generate the csv files.

feisichen avatar Sep 21 '23 13:09 feisichen

Ok, thank you very much for your reply.

LittleShuo avatar Sep 22 '23 04:09 LittleShuo