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

pretrain the basenet #12

Closed
JongMokKim opened this issue Sep 4, 2018 · 2 comments
Closed

pretrain the basenet #12

JongMokKim opened this issue Sep 4, 2018 · 2 comments

Comments

@JongMokKim
Copy link

Hi, thank you for nice work!

I have a question about pretraining the basenet on imagenet

your base network has 4 channel input (h x w x 4(rgb-guassian)),
but it should be 3 channels when pretraining the imagenet (imagenet data only has rgb and extreme points is not necessary to classify task)

how did you do it?
thank you for your help in advance!

@kmaninis
Copy link
Collaborator

kmaninis commented Sep 4, 2018

Hi, thanks for your kind words.

The network was indeed pre-trained on Imagenet using 3 channels.
We artificially added a fourth channel to train DEXTR, and initialized its weights from Imagenet.
Please take a look at this part of the code.

@JongMokKim
Copy link
Author

thank you very much!

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

2 participants