vacancy / NSCL-PyTorch-Release

PyTorch implementation for the Neuro-Symbolic Concept Learner (NS-CL).
http://nscl.csail.mit.edu
MIT License
416 stars 94 forks source link

_use_shared_memory - PyTorch 1.1 #4

Closed bergen closed 4 years ago

bergen commented 5 years ago

The following error appears with PyTorch 1.1:

File "Jacinle/jactorch/data/collate.py", line 149, in _stack if torchdl._use_shared_memory: AttributeError: module 'torch.utils.data.dataloader' has no attribute '_use_shared_memory'

dataloader in 1.1 does not have an attribute '_use_shared_memory', see here.

vacancy commented 4 years ago

Fixed in the latest Jacinle. Thanks for reporting.