I am using PyTorch 1.0.0,But it shows that version doesn’t have  the  argument of strict
load_pretrain
modelB=model.load_state_dict(torch.load(url,strict=False))
TypeError: load() got an unexpected keyword argument ‘strict’