Problem
To understand the values of the labels of support and query images of the validation and test sets.
Considered solutions
Not applicable.
How can we help
By running the classical training notebook considering my dataset (21 classes; 13 for training; 3 for validation; 5 for testing), I would like to see the labels of the support and query images of the validation and test sets. See part of the code below related to the validation set:
It is 2-way because I have only 3 classes in the validation set. The code for the test phase considered 1000 test tasks, I used the same 2-way 5-shot setting as above and recall that I have 5 classes in the test set. But, looking at some labels of the support and query images not only for the validation set but also for the test set, there are only 0 and 1 labels. Code below (test):
Problem To understand the values of the labels of support and query images of the validation and test sets.
Considered solutions Not applicable.
How can we help By running the classical training notebook considering my dataset (21 classes; 13 for training; 3 for validation; 5 for testing), I would like to see the labels of the support and query images of the validation and test sets. See part of the code below related to the validation set:
It is 2-way because I have only 3 classes in the validation set. The code for the test phase considered 1000 test tasks, I used the same 2-way 5-shot setting as above and recall that I have 5 classes in the test set. But, looking at some labels of the support and query images not only for the validation set but also for the test set, there are only 0 and 1 labels. Code below (test):
And the output:
Some support labels: tensor([1, 1, 1, 1, 1, 0, 0, 0, 0, 0]) Some query labels: tensor([1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
Should we not expect labels from 0 to 4 here (test set), since we have 5 test classes?