Implementing MatchNet reservoir with pyTorch Dataset and Dataloader

Hi,
I’m trying to implement MatchNet sampler link algorithm with pyTorch Dataset but I’m having trouble warping my head around it.

Can you please help me to understand how to implement it?

Thank,
Oria

Could you post your current code and explain a bit where you are stuck at the moment? :slight_smile: