You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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__ and episodic_collate_fn but maybe I am struggling with the implementation so I wanted to validate the approach.
would highly appreciate your input.
Thank you
The text was updated successfully, but these errors were encountered:
talhaashraf7213
changed the title
Can we have 2 datasets in the TaskSampler (different for Query and Support dataset)?
[Question] Can we have 2 datasets in the TaskSampler (different for Query and Support dataset)?
May 13, 2024
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:
A custom dataset with defined items that can be sampled in support sets and others that can be sampled in query sets.
A sampler modified from 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
The text was updated successfully, but these errors were encountered: