Non-local_pytorch icon indicating copy to clipboard operation
Non-local_pytorch copied to clipboard

AttributeError: 'NONLocalBlock2D' object has no attribute 'nn'

Open githubPsearth opened this issue 5 years ago • 1 comments

Hi~ I use the code but some problems happened , my torch version is 1.1.0, is it must to use the 0.4.0 torch?

githubPsearth avatar Jul 16 '19 07:07 githubPsearth

@githubPsearth Hi. I test the demo_MNIST.py with (Pytorch1.1.0 and Python3.7.3), it still works. Can you show me more details (for example code) about your problems?

AlexHex7 avatar Jul 26 '19 10:07 AlexHex7