awesome-semantic-segmentation-pytorch icon indicating copy to clipboard operation
awesome-semantic-segmentation-pytorch copied to clipboard

aux

Open tomjerrygithub opened this issue 5 years ago • 9 comments

deeplabv3plus demo
Missing key(s) in state_dict: "auxlayer.block.0.weight", "auxlayer.block.1.weight", "auxlayer.block.1.bias", "auxlayer.block.1.running_mean", "auxlayer.block.1.running_var", "auxlayer.block.4.weight", "auxlayer.block.4.bias".

When i set aux =False is Ok What the aux mean?

tomjerrygithub avatar Oct 10 '19 03:10 tomjerrygithub

Are you trying to load a different backbone file? I got a similar error when I tried to load a different xception model file while trying to run deeplabv3plus.

sainatarajan avatar Oct 12 '19 17:10 sainatarajan

The same, i use the resnet101 now.

At 2019-10-13 01:49:11, "sainatarajan" [email protected] wrote:

Are you trying to load a different backbone file? I got a similar error when I tried to load a different xception model file while trying to run deeplabv3plus.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

tomjerrygithub avatar Oct 14 '19 01:10 tomjerrygithub

deeplabv3plus demo Missing key(s) in state_dict: "auxlayer.block.0.weight", "auxlayer.block.1.weight", "auxlayer.block.1.bias", "auxlayer.block.1.running_mean", "auxlayer.block.1.running_var", "auxlayer.block.4.weight", "auxlayer.block.4.bias".

When i set aux =False is Ok What the aux mean?

Hi,Can you tell me where to set “aux = False”? thks

JessonKang avatar Jul 30 '20 11:07 JessonKang

deeplabv3plus demo Missing key(s) in state_dict: "auxlayer.block.0.weight", "auxlayer.block.1.weight", "auxlayer.block.1.bias", "auxlayer.block.1.running_mean", "auxlayer.block.1.running_var", "auxlayer.block.4.weight", "auxlayer.block.4.bias". When i set aux =False is Ok What the aux mean?

Hi,Can you tell me where to set “aux = False”? thks

Can be set here.

Tramac avatar Jul 30 '20 11:07 Tramac

deeplabv3plus demo Missing key(s) in state_dict: "auxlayer.block.0.weight", "auxlayer.block.1.weight", "auxlayer.block.1.bias", "auxlayer.block.1.running_mean", "auxlayer.block.1.running_var", "auxlayer.block.4.weight", "auxlayer.block.4.bias". When i set aux =False is Ok What the aux mean?

Hi,Can you tell me where to set “aux = False”? thks

Can be set here.

Thank you very much for your reply. I checked and found it was “aux = False”, so what else could possibly lead to such a mistake?

JessonKang avatar Jul 30 '20 11:07 JessonKang

If you use the deeplab, maybe you can check here.

Tramac avatar Jul 30 '20 11:07 Tramac

If you use the deeplab, maybe you can check here.

I used fcn +resnet50 train the model and called fcnv2.py when running demo.py, but I found no place to set "aux" in fcnv2.py.

JessonKang avatar Jul 30 '20 11:07 JessonKang

If you use the deeplab, maybe you can check here.

I used fcn +resnet50 train the model and called fcnv2.py when running demo.py, but I found no place to set "aux" in fcnv2.py.

Please check self.aux in fcnv2.py is true or false.

Tramac avatar Jul 30 '20 11:07 Tramac

If you use the deeplab, maybe you can check here.

I used fcn +resnet50 train the model and called fcnv2.py when running demo.py, but I found no place to set "aux" in fcnv2.py.

Please check self.aux in fcnv2.py is true or false. 47/5000 I found and modified self.aux=Flase in fcnv2.py, and demo. py can run normally, thank you very very much!

JessonKang avatar Jul 30 '20 11:07 JessonKang