Open talhaashraf7213 opened 4 months ago
Hi! I've given your issue some thought and I don't see how it can be solved with just a custom sampler, because you are going to feed it to a DataLoader
which only handles a single dataset.
I believe that you need to design:
TaskSampler
that samples support and query items from relevant subsets of the dataset.I wanted to know from your experience if it's possible and secondly is it a good approach to improve accuracy of the model?
It's difficult to answer this as I don't know what you are trying to achieve with these experiments.
Problem I am trying to implement something like this
where I can use my custom images dataset as the query dataset and CFAR100 as my support dataset.
I wanted to know from your experience if it's possible and secondly is it a good approach to improve accuracy of the model?
Considered solutions I have tried to create a custom Class
CustomTaskSampler
and implement the__iter__
andepisodic_collate_fn
but maybe I am struggling with the implementation so I wanted to validate the approach.would highly appreciate your input.
Thank you