` File "tools/train.py", line 98, in <module>
main()
File "tools/train.py", line 94, in main
logger=logger)
File "/home/mingzhi/Downloads/Pedestron/mmdet/apis/train.py", line 63, in train_detector
_non_dist_train(model, dataset, cfg, validate=validate)
File "/home/mingzhi/Downloads/Pedestron/mmdet/apis/train.py", line 228, in _non_dist_train
runner.run(data_loaders, cfg.workflow, cfg.total_epochs)
File "/home/mingzhi/anaconda3/envs/pedest/lib/python3.7/site-packages/mmcv/runner/runner.py", line 358, in run
epoch_runner(data_loaders[i], **kwargs)
File "/home/mingzhi/anaconda3/envs/pedest/lib/python3.7/site-packages/mmcv/runner/runner.py", line 264, in train
self.model, data_batch, train_mode=True, **kwargs)
File "/home/mingzhi/Downloads/Pedestron/mmdet/apis/train.py", line 42, in batch_processor
loss, log_vars = parse_losses(losses)
File "/home/mingzhi/Downloads/Pedestron/mmdet/apis/train.py", line 22, in parse_losses
for loss_name, loss_value in losses.items():
AttributeError: 'NoneType' object has no attribute 'items'`
In the paper, the loss function is combined with Faster R-CNN's loss + 0.5* MGA loss (BCE) + location-sensitive loss.
No idea where to config loss functions' weights... Anyone can help???
Hi,
Is there anyone who would like to share the training file? I tried to set up by myself but failed.
With the following error:
In the paper, the loss function is combined with Faster R-CNN's loss + 0.5* MGA loss (BCE) + location-sensitive loss.
No idea where to config loss functions' weights... Anyone can help???
Thanks!