You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "G:\foxdownload\Integrated-Design-Diffusion-Model-main\sr\train.py", line 386, in
main(args)
File "G:\foxdownload\Integrated-Design-Diffusion-Model-main\sr\train.py", line 297, in main
train(args=args)
File "G:\foxdownload\Integrated-Design-Diffusion-Model-main\sr\train.py", line 143, in train
start_epoch = load_ckpt(ckpt_path=ckpt_path, model=model, device=device, optimizer=optimizer,
File "G:\foxdownload\Integrated-Design-Diffusion-Model-main\ut\checkpoint.py", line 57, in load_ckpt
load_model_ckpt(model=model, model_ckpt=ckpt_model, is_train=is_train, is_pretrain=is_pretrain,
File "G:\foxdownload\Integrated-Design-Diffusion-Model-main\ut\checkpoint.py", line 117, in load_model_ckpt
model_weights_dict = {k: v for k, v in model_weights_dict.items() if np.shape(model_dict[k]) == np.shape(v)}
File "G:\foxdownload\Integrated-Design-Diffusion-Model-main\ut\checkpoint.py", line 117, in
model_weights_dict = {k: v for k, v in model_weights_dict.items() if np.shape(model_dict[k]) == np.shape(v)}
KeyError: 'inc.double_conv.0.weight'
我的数据集是130*130的图片格式,貌似不是32的倍数。模型要重新训练吗? 谢谢
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "G:\foxdownload\Integrated-Design-Diffusion-Model-main\sr\train.py", line 386, in
main(args)
File "G:\foxdownload\Integrated-Design-Diffusion-Model-main\sr\train.py", line 297, in main
train(args=args)
File "G:\foxdownload\Integrated-Design-Diffusion-Model-main\sr\train.py", line 143, in train
start_epoch = load_ckpt(ckpt_path=ckpt_path, model=model, device=device, optimizer=optimizer,
File "G:\foxdownload\Integrated-Design-Diffusion-Model-main\ut\checkpoint.py", line 57, in load_ckpt
load_model_ckpt(model=model, model_ckpt=ckpt_model, is_train=is_train, is_pretrain=is_pretrain,
File "G:\foxdownload\Integrated-Design-Diffusion-Model-main\ut\checkpoint.py", line 117, in load_model_ckpt
model_weights_dict = {k: v for k, v in model_weights_dict.items() if np.shape(model_dict[k]) == np.shape(v)}
File "G:\foxdownload\Integrated-Design-Diffusion-Model-main\ut\checkpoint.py", line 117, in
model_weights_dict = {k: v for k, v in model_weights_dict.items() if np.shape(model_dict[k]) == np.shape(v)}
KeyError: 'inc.double_conv.0.weight'
我的数据集是130*130的图片格式,貌似不是32的倍数。模型要重新训练吗? 谢谢
The text was updated successfully, but these errors were encountered: