Traceback (most recent call last):


 "train.py", line 299, in train

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



 "/code/utils/utils.py", line 340, in compute_loss

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


 "/code/utils/utils.py", line 398, in build_targets

print("check yololayer.ng", model.module.module_list[16][0].ng, model.module.module_list[23][0].ng)


 "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 535, in __getattr__

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

Traceback (most recent call last):


 "test.py", line 33, in <module>

save_images(webpage, visuals, img_path, aspect_ratio=opt.aspect_ratio, width=opt.display_winsize)
AttributeError: 'Namespace' object has no attribute 'display_winsize'
