fh2019ustc / PolySnake

The official code for “Recurrent Generic Contour-based Instance Segmentation with Progressive Learning”, TCSVT, 2024.
MIT License
69 stars 7 forks source link

训练的代码问题 #7

Open LiuReboot opened 1 year ago

LiuReboot commented 1 year ago

想请问作者: if batch is not None and 'test' not in batch['meta']:

if not self.training: 这两段代码下是训练代码和测试代码吗?

fh2019ustc commented 1 year ago

是的