-
Notifications
You must be signed in to change notification settings - Fork 42
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
About training #36
Comments
It looks a bit weird. Did you use the VGG pre-trained weights? |
I didn't use it. Do I have to use pre-trained weights to proceed? Because my original image is in 6 bands, adding pre-training weights will report an error |
Hi @long123524, |
Hi @long123524, I wonder if you can try to load the weights for the VGG backbone excluding the first layer and train on BSDS dataset? This can help to check if the parameters in the first layer are indeed essential. |
Hi @long123524, the pre-trained weight file comes from original HED repo, and I think this weight file is pretrained on ImageNet classification (may need to double check). It seems the first layer is necessary in your visualization. However, I am not sure if there is a easy way to convert the current 3-channel input layer to 6-channel. In addition, perhaps the 6-channel input of your dataset has different value distribution from the RGB images in HED. Could you tell me what's the meaning of each channel in your data? We can design some conversion given the property of your data. |
Thank you very much for your reply. My own research direction is remote sensing. The 6 channels I input are the 6 bands in the remote sensing image, and each band has its own spectral information in it. |
Gotcha, I would suggest if you can compute the statistics of the 6 channels (e.g. max/min/std/avg) and choose suitable normalization. Afterward, you can attempt to copy the 3-channel input layer weights twice to make 6-channel input weights and see if this way can help training. |
I think you may attempt to lower down the learning rate and try several possible values. |
I trained on my own data set, and the following result graph appeared (I am doing a binary classification task). How can I improve it? Please answer
The text was updated successfully, but these errors were encountered: