Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

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

bash eval_hrnetw32.sh Error! #54

Open
kukujoyyo opened this issue Nov 17, 2022 · 1 comment
Open

bash eval_hrnetw32.sh Error! #54

kukujoyyo opened this issue Nov 17, 2022 · 1 comment
Labels
question Further information is requested

Comments

@kukujoyyo
Copy link

kukujoyyo commented Nov 17, 2022

Traceback (most recent call last).
File ""home/libowen/LoveDA-master/Semantic_Segmentation/predict.py", line 52, in smodule>
predict test(argsckpt path, args.config path, args.out dir)
File "/home/libowen/LoveDA-master/Semantic_Segmentation/predictpy", line 37, in predict test
model.load_state_dictmodel_state_dict)
File "home/libowen/.conda/envs/bw/ib/python3.8/site-packages/torch/nn/modules/module,py", line 1667, in load_state_dictraise RuntimeError('Error(s) in loading state_dic for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state dict for HRNetFusion.
Missing keys) in state dict: "ackbone.het.conv1.weight"ackbone hmet bn1.weight, "ackbone hretbn1.bias""backbone hmet bn1.running mean"

@kukujoyyo kukujoyyo changed the title eval eval_hrnetw32.sh error Nov 17, 2022
@kukujoyyo kukujoyyo changed the title eval_hrnetw32.sh error bash eval_hrnetw32.sh Error! Nov 17, 2022
@Junjue-Wang
Copy link
Owner

ackbone.het.conv1.weight"ackbone hmet bn1.weight, "ackbone hretbn1.bias

It seems you have wrong keys.

@Junjue-Wang Junjue-Wang added the question Further information is requested label Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants