Traceback (most recent call last):


 "char-rnn.py", line 192, in <module>

QueueInputTrainer(config).train()


 "/home/patwie/git/tensorpack/tensorpack/train/base.py", line 58, in train

self.setup()


 "/home/patwie/git/tensorpack/tensorpack/train/base.py", line 130, in setup

self._setup()


 "/home/patwie/git/tensorpack/tensorpack/train/feedfree.py", line 101, in _setup

cost, grads = self._get_cost_and_grad()


 "/home/patwie/git/tensorpack/tensorpack/train/feedfree.py", line 47, in _get_cost_and_grad

self.model.build_graph(actual_inputs)


 "/home/patwie/git/tensorpack/tensorpack/models/model_desc.py", line 108, in build_graph

self._build_graph(model_inputs)


 "char-rnn.py", line 72, in _build_graph

cell = tf.nn.rnn_cell.BasicLSTMCell(num_units=param.rnn_size)
AttributeError: 'module' object has no attribute 'rnn_cell'

Traceback (most recent call last):


 "/tmp/kitchen/testing/salt/utils/templates.py", line 392, in render_jinja_tmpl

output = template.render(**decoded_context)


 "/usr/local/lib/python3.7/site-packages/jinja2/asyncsupport.py", line 76, in render

return original_render(self, *args, **kwargs)


 "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 1008, in render

return self.environment.handle_exception(exc_info, True)


 "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 780, in handle_exception

reraise(exc_type, exc_value, tb)


 "/usr/local/lib/python3.7/site-packages/jinja2/_compat.py", line 37, in reraise

raise value.with_traceback(tb)


 "<template>", line 1, in top-level template code


 "/tmp/kitchen/testing/salt/utils/http.py", line 468, in query

result_text = result.body.decode('utf-8')
AttributeError: 'HTTPResponse' object has no attribute 'body'
