MAML-Pytorch
MAML-Pytorch copied to clipboard
for step, (x_spt, y_spt, x_qry, y_qry) in enumerate(db):
y_spt and y_qry are not the true labels of corrsponding images, are they just the indexes?
they are indices of the selected classes(n-way) for this batch, in a way they are the true labels. We cannot use true labels because they are not exact values from 0 to (n-way)-1.