Closed Li-Jinquan closed 4 years ago
Hi Li sorry for taking this long to get back to you. The args.pt_model doesn't have a set type, it should be set to a string that is a path to your pretrained model or None if you're not loading anything and defaults to SalGAN/ SalBCE weights. But you are right there seems to be a bug there. It should be "if args.pt_model == None:" on line 155 Dunno when that changed or why, thanks for pointing it out.
Hi, in your train.py line 163 ` if args.pt_model != False:
In truth it's not None, we default to SalGAN or SalBCE (JuanJo's)weights
the type of "args.pt_model' is "str", so no matter how we set the pt_model is "False" or "True", It will always use the weight of SalGAN or SalBCE right?