GuansongPang/deviation-network

Infinite loop when generating the batches

markholland920 opened this issue · 1 comments

I noticed that there is an infinite loop in this function batch_generator_sup() and I don't fully understand the logic of generating the batches and injecting the noise. Why not just use the normal dataloader with negative sampling?

Hi,

We aim to show that DevNet works well with anomaly-contaminated unlabeled data. DevNet performs better when there is no anomaly contamination. See the paper for more details.