fscil icon indicating copy to clipboard operation
fscil copied to clipboard

about the datasets and dataloader

Open liujianzhao6328057 opened this issue 3 years ago • 4 comments

Thanks for your job. I began to enter the “few shot incremental” filed and not familiar with the datasets. Could you please release the datasets.py and dataloader first for reference? Thank you very much.

liujianzhao6328057 avatar Aug 02 '20 01:08 liujianzhao6328057

An example dataloader/dataloader.py has been added. Noting that the original code is written with mxnet.

xyutao avatar Aug 02 '20 02:08 xyutao

Thank you. The dataloader is the same as that of few shot dataloader. Is the difference between the few shot and few shot incremental the way of training? the dataset yields one batch/task (N way K shot), and dataloader with batch size of M yileds a task sequence containing M tasks. Then we need to train the M batches/tasks sequentially and test the performance of all the M tasks at the end of the task sequence. Is my understanding right?

liujianzhao6328057 avatar Aug 02 '20 02:08 liujianzhao6328057

After learning M tasks, the model is tested on all the test images of the N * M classes, which is N * M * 100 (per class) for CIFAR100

xyutao avatar Aug 02 '20 03:08 xyutao

Thanks

liujianzhao6328057 avatar Aug 02 '20 03:08 liujianzhao6328057