Traceback (most recent call last):


 "main.py", line 94, in <module>

model.cuda()


 "/data1/XXXX/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 147, in cuda

return self._apply(lambda t: t.cuda(device_id))


 "/data1/XXXX/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 118, in _apply

module._apply(fn)


 "/data1/XXXX/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 118, in _apply

module._apply(fn)


 "/data1/XXXX/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 118, in _apply

module._apply(fn)


 "/data1/XXXX/.local/lib/python3.6/site-packages/torch/nn/modules/rnn.py", line 116, in _apply

self.flatten_parameters()


 "/data1/XXXX/.local/lib/python3.6/site-packages/torch/nn/modules/rnn.py", line 104, in flatten_parameters

all_weights = [[p.data for p in l] for l in self.all_weights]


 "/data1/XXXX/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 262, in __getattr__

type(self).__name__, name))
AttributeError: 'LSTM' object has no attribute 'all_weights'

`Traceback (most recent call last):


 "/usr/local/bin/sceptre", line 11, in <module>

load_entry_point('sceptre==1.3.0', 'console_scripts', 'sceptre')()


 "/Library/Python/2.7/site-packages/click/core.py", line 716, in __call__

return self.main(*args, **kwargs)


 "/Library/Python/2.7/site-packages/click/core.py", line 696, in main

rv = self.invoke(ctx)


 "/Library/Python/2.7/site-packages/click/core.py", line 1060, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))


 "/Library/Python/2.7/site-packages/click/core.py", line 889, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "/Library/Python/2.7/site-packages/click/core.py", line 534, in invoke

return callback(*args, **kwargs)


 "/Library/Python/2.7/site-packages/click/decorators.py", line 17, in new_func

return f(get_current_context(), *args, **kwargs)


 "/Library/Python/2.7/site-packages/sceptre/cli.py", line 96, in decorated

return func(*args, **kwargs)


 "/Library/Python/2.7/site-packages/sceptre/cli.py", line 494, in update_with_change_set

with change_set(env.stacks[stack], change_set_name):
AttributeError: 'Environment' object has no attribute 'stacks'`