ethancaballero / Improved-Dynamic-Memory-Networks-DMN-plus

Theano Implementation of DMN+ (Improved Dynamic Memory Networks) from the paper by Xiong, Merity, & Socher at MetaMind, http://arxiv.org/abs/1603.01417 (Dynamic Memory Networks for Visual and Textual Question Answering)
168 stars 63 forks source link

AttributeError: 'NoneType' object has no attribute 'test_input' #8

Open ys80 opened 7 years ago

ys80 commented 7 years ago

Hello,

I get below error while i run webapp and input task type in browser to 2.

return self.view_functions[rule.endpoint](**req.view_args)

File "webapp.py", line 53, in get_story test_input = test_input AttributeError: 'NoneType' object has no attribute 'test_input' 127.0.0.1 - - [22/Oct/2017 00:08:28] "GET /get/story HTTP/1.1" 500 -

ys80 commented 7 years ago

Please read below as error:

return self.view_functions[rule.endpoint](**req.view_args)

File "webapp.py", line 53, in get_story test_input = dmn.test_input AttributeError: 'NoneType' object has no attribute 'test_input' 127.0.0.1 - - [21/Oct/2017 23:56:01] "GET /get/story HTTP/1.1" 500 -

KanaadPathak commented 6 years ago

This has to be run in python 2.7, create a separate conda environment with python 2.7 and run it. It should work.

chengyanz commented 5 years ago

I get the same error in python 2.7. Can you share the versions of everything?