Traceback (most recent call last):


 "../../tools/train.py", line 316, in <module>

main()


 "../../tools/train.py", line 311, in main

train(train_loader, dist_model, optimizer, lr_scheduler, tb_writer)


 "../../tools/train.py", line 211, in train

outputs = model(data)


 "/data/anaconda3/envs/tang0.4.1/lib/python3.7/site-packages/torch/nn/modules/module.py", line 477, in __call__

result = self.forward(*input, **kwargs)


 "/data/anaconda3/envs/tang0.4.1/lib/python3.7/site-packages/pysot/utils/distributed.py", line 43, in forward

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


 "/data/anaconda3/envs/tang0.4.1/lib/python3.7/site-packages/torch/nn/modules/module.py", line 477, in __call__

result = self.forward(*input, **kwargs)


 "/data/anaconda3/envs/tang0.4.1/lib/python3.7/site-packages/pysot/models/model_builder.py", line 113, in forward

outputs['total_loss'] += cfg.TRAIN.MASK_WEIGHT * mask_loss
TypeError: unsupported operand type(s) for *: 'int' and 'NoneType'

Traceback (most recent call last):


 "/home/fudan/anaconda3/bin/youtube-dl", line 11, in <module>

sys.exit(main())


 "/home/fudan/anaconda3/lib/python3.7/site-packages/youtube_dl/__init__.py", line 474, in main

_real_main(argv)


 "/home/fudan/anaconda3/lib/python3.7/site-packages/youtube_dl/__init__.py", line 464, in _real_main

retcode = ydl.download(all_urls)


 "/home/fudan/anaconda3/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 2008, in download

url, force_generic_extractor=self.params.get('force_generic_extractor', False))


 "/home/fudan/anaconda3/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 796, in extract_info

ie_result = ie.extract(url)


 "/home/fudan/anaconda3/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 529, in extract

ie_result = self._real_extract(url)


 "/home/fudan/anaconda3/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1674, in _real_extract

if 'token' not in video_info:
TypeError: argument of type 'NoneType' is not iterable
