Closed rentainhe closed 2 years ago
Hi,
We use layer scale in convnext_isotropic_large
so you'll have to specify a non-zero layer_scale_init_value
, e.g.,
model = convnext_isotropic_large(pretrained=True, layer_scale_init_value=1e-6)
In our main.py
the default value of layer_scale_init_value
is 1e-6 so it wouldn't be a problem if you load using main.py
Hi,
We use layer scale in
convnext_isotropic_large
so you'll have to specify a non-zerolayer_scale_init_value
, e.g.,model = convnext_isotropic_large(pretrained=True, layer_scale_init_value=1e-6)
In our
main.py
the default value oflayer_scale_init_value
is 1e-6 so it wouldn't be a problem if you load usingmain.py
Thanks a lot! Do any other iso
convnext models have the same layer_scale_init_value
?
No, the other ones do not use layer scale so you can set or leave layer_scale_init_value
at default (0) in model creation. We mentioned this in the 3rd paragraph of appendix A.1, or you can find the differences between training isotropic S/B and L in our TRAINING.md.
No, the other ones do not use layer scale so you can set or leave
layer_scale_init_value
at default (0) in model creation. We mentioned this in the 3rd paragraph of appendix A.1, or you can find the differences between training isotropic S/B and L in our TRAINING.md.
Thank you~, that helps me a lot~
Hi~, I've try to load the pretrained weight of
convnext_isotropic_large
model myself, but I met some unexcepted keys, the code is likeAnd meet RunTimeError:
I think there might be something wrong about the pretrained weight here.