microsoft / ProDA

Prototypical Pseudo Label Denoising and Target Structure Learning for Domain Adaptive Semantic Segmentation (CVPR 2021)
https://arxiv.org/abs/2101.10979
MIT License
286 stars 44 forks source link

Missing key(s) when loading the pre-trained simclr model parameters in stage 3 #36

Open JiangXiaobai00 opened 3 years ago

JiangXiaobai00 commented 3 years ago

image

JiangXiaobai00 commented 3 years ago

I have found out the key point to solve the probem. Parameter "bn_clr" should be deleted from the command line code used to generate pseudo labels.

JiangXiaobai00 commented 3 years ago

But this error still appears during the training phase

Jo-wang commented 3 years ago

Same issue here

Jo-wang commented 3 years ago

I have found out the key point to solve the problem. Parameter "bn_clr" should be deleted from the command line code used to generate pseudo labels.

I've also tried to delete bn_clr but for me, the error will be shown if it's deleted otherwise all good.

If you have any further ideas, we can discuss them later.

JiangXiaobai00 commented 3 years ago

Have a try to delete "ema_bn" at the same time!

JiangXiaobai00 commented 3 years ago

The last two parameters can be deleted at the same time, have a try!

------------------ 原始邮件 ------------------ 发件人: "microsoft/ProDA" @.>; 发送时间: 2021年10月1日(星期五) 中午1:13 @.>; @.**@.>; 主题: Re: [microsoft/ProDA] Missing key(s) when loading the pre-trained simclr model parameters in stage 3 (#36)

I have found out the key point to solve the problem. Parameter "bn_clr" should be deleted from the command line code used to generate pseudo labels.

I've also tried to delete bn_clr but for me, the error will be shown if it's deleted otherwise all good.

If you have any further ideas, we can discuss them later.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

Jo-wang commented 3 years ago

The last two parameters can be deleted at the same time, have a try! ------------------ 原始邮件 ------------------ 发件人: "microsoft/ProDA" @.>; 发送时间: 2021年10月1日(星期五) 中午1:13 @.>; @.**@.>; 主题: Re: [microsoft/ProDA] Missing key(s) when loading the pre-trained simclr model parameters in stage 3 (#36) I have found out the key point to solve the problem. Parameter "bn_clr" should be deleted from the command line code used to generate pseudo labels. I've also tried to delete bn_clr but for me, the error will be shown if it's deleted otherwise all good. If you have any further ideas, we can discuss them later. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

Hi there,

Just wondering which pytorch version you are using. I am still sticking on some minor issues and now suspect that the problems come from pytorch version.

Thanks in advance.