Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

有人成功训练SiamMask了吗? #604

Open
dqs932 opened this issue Dec 19, 2023 · 0 comments
Open

有人成功训练SiamMask了吗? #604

dqs932 opened this issue Dec 19, 2023 · 0 comments

Comments

@dqs932
Copy link

dqs932 commented Dec 19, 2023

我在训练SiamMask中遇到以下报错,看了历史issues,该问题仍未解决,向各位大佬求助!!!
Traceback (most recent call last):
File "../../tools/train.py", line 317, in
main()
File "../../tools/train.py", line 312, in main
train(train_loader, dist_model, optimizer, lr_scheduler, tb_writer)
File "../../tools/train.py", line 210, in train
outputs = model(data)
File "/home/work/anaconda3/envs/pysot/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
return forward_call(*input, **kwargs)
File "/home/work/dingqishuai/pysot/pysot/utils/distributed.py", line 43, in forward
return self.module(*args, **kwargs)
File "/home/work/anaconda3/envs/pysot/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
return forward_call(*input, **kwargs)
File "/home/work/dingqishuai/pysot/pysot/models/model_builder.py", line 115, in forward
outputs['total_loss'] += cfg.TRAIN.MASK_WEIGHT * mask_loss
TypeError: unsupported operand type(s) for *: 'float' and 'NoneType'

Pysot是否仅支持SiamMask的推理和测评?而不支持训练?Pysot还会继续维护更新吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant