msamogh/nonechucks

Overriding torch's classes

shigabeev opened this issue · 2 comments

After importing module, it overrides torch's dataloader so that in no longer can accept another datasets. :(
Screen Shot 2019-05-12 at 4 39 55 PM

It's code from within SafeSampler that's causing the issue. But this isn't supposed to happen because the original ones are restored after a temporary override.

Could you paste the surrounding code (before/after the initializing the DataLoaders). Also, if you could include the relevant imports as well, it'd be great!

Closing due to no further info.