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

loading pretrained weights #27

Open
soans1994 opened this issue Sep 20, 2021 · 0 comments
Open

loading pretrained weights #27

soans1994 opened this issue Sep 20, 2021 · 0 comments

Comments

@soans1994
Copy link

hello author,

i have some queries regarding your implementation.

  1. why did you use the deconv operation 5 times in fcn32, slowly upsampling gives better resultsd than a single conv2d operation?
  2. also, can you please give me some reference how to study about using pretrained weights for custom model. your usage of pretrained weights is good. I want to learn. Can you please give me some inputs. I built a simple fcn model and used pretrained models as follows:

model = fcn()
model.load_state_dict(model_zoo.load_url(model_urls['resnet50']), strict=False)

it gives better result, but i am not sure how it uses the weights. whether based on layer names or automatic concat weights based on kernel size.

thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant