cvlab-epfl / detecting-the-unexpected

Detecting the Unexpected via Image Resynthesis
Other
56 stars 10 forks source link

Issue in pipeline.py #2

Open RamyaRaghuraman opened 4 years ago

RamyaRaghuraman commented 4 years ago

Hi @adynathos ,

Really impressive work! :)

I get the following error in pipeline.py when I execute Exec_evaluations.ipynb:

"AttributeError: module 'torch.utils.data' has no attribute 'get_worker_info'"

I use Windows 10 OS and my pytorch version is 1.1.0. Any help would be appreciated. Thanks!

adynathos commented 4 years ago

This is probably related to the pytorch version. Could you try pytorch 1.3?

adynathos commented 4 years ago

In that code, we make a modified version of PyTorch's default collate, so it is involved with the PyTorch internals which sometimes change from version to version.