添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement . We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When running:
python main.py configs/clrnet/clr_resnet101_culane.py --test --load_from [path]/resnet101-5d3b4d8f.pth --gpus 0
gives the error KeyError:'net'
Solution:
net.load_state_dict(pretrained_model['net'], strict=False) :-> remove "['net']" this part and it will work.