 **Traceback (most recent call last):


 "train.py", line 380, in <module>

multi_scale=opt.multi_scale,


 "train.py", line 237, in train

loss, loss_items = compute_loss(pred, targets, model)


 "/home/data/code/yolov3/utils/utils.py", line 274, in compute_loss

txy, twh, tcls, indices = build_targets(model, targets)


 "/home/data/code/yolov3/utils/utils.py", line 320, in build_targets

gwh = targets[:, 4:6] * layer.ng


 "/home/data/anaconda3/envs/caffe2_py36/lib/python3.6/site-packages/torch/nn/modules/module.py", line 539, in __getattr__

type(self).__name__, name))
AttributeError: 'YOLOLayer' object has no attribute 'ng'',** 

Traceback (most recent call last):


 "examples/openai_gym.py", line 121, in <module>

main()


 "examples/openai_gym.py", line 112, in main

runner.run(args.episodes, args.max_timesteps, episode_finished=episode_finished)


 "/home/egor/Software/tensorforce/tensorforce/execution/runner.py", line 158, in run

self.agent.save_model(self.save_path)


 "/home/egor/Software/tensorforce/tensorforce/agents/agent.py", line 238, in save_model

self.model.save_model(path)


 "/home/egor/Software/tensorforce/tensorforce/models/model.py", line 274, in save_model

self.saver.save(self.session, path)
AttributeError: 'NoneType' object has no attribute 'save'
