We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6300bd7 commit 54f96baCopy full SHA for 54f96ba
fastreid/modeling/meta_arch/distiller.py
@@ -60,7 +60,7 @@ def __init__(self, cfg):
60
for param in model_self.parameters():
61
param.requires_grad_(False)
62
63
- if cfg_self.MODEL.WEIGHTS is not '':
+ if cfg_self.MODEL.WEIGHTS != '':
64
logger.info("Loading self distillation model weights ...")
65
Checkpointer(model_self).load(cfg_self.MODEL.WEIGHTS)
66
else:
0 commit comments