mirror of https://github.com/JDAI-CV/fast-reid.git
parent
6300bd756e
commit
54f96ba78a
fastreid/modeling/meta_arch
|
@ -60,7 +60,7 @@ class Distiller(Baseline):
|
|||
for param in model_self.parameters():
|
||||
param.requires_grad_(False)
|
||||
|
||||
if cfg_self.MODEL.WEIGHTS is not '':
|
||||
if cfg_self.MODEL.WEIGHTS != '':
|
||||
logger.info("Loading self distillation model weights ...")
|
||||
Checkpointer(model_self).load(cfg_self.MODEL.WEIGHTS)
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue