pysot icon indicating copy to clipboard operation
pysot copied to clipboard

mask_loss is equal to None?

Open x1aoo opened this issue 5 years ago • 3 comments

Hi, In /pysot/pysot/models/model_builder.py line 112, the mask_loss is always equal to None and the output of "total loss" will be int * NoneType value, it will have a error:

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

x1aoo avatar Jan 16 '20 04:01 x1aoo

Sorry, we haven't finished this part yet. Pls set the cfg.MASK.MASK to False

ZhiyuanChen avatar Jan 19 '20 06:01 ZhiyuanChen

Set the cfg.MASK.MASK to False? Is it still a SIAMASK algorithm?

dudiaoxifenglie avatar Jul 09 '21 01:07 dudiaoxifenglie

将 cfg.MASK.MASK 设置为 False?还是SIAMASK算法?

Hi, I'm training the siammask model with my own data and I'm having the same problem during the run. Can you please tell me how you solved it.

Radishzinski avatar Jan 07 '22 12:01 Radishzinski