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

Problems about retraining the model #7

Open
lizijue opened this issue Dec 13, 2022 · 1 comment
Open

Problems about retraining the model #7

lizijue opened this issue Dec 13, 2022 · 1 comment

Comments

@lizijue
Copy link

lizijue commented Dec 13, 2022

Sorry to bother you @SorourMo. Since I only have datasets consist of RGB images now, I have to modify your source code to make it adapt to inputs of three channles by using only RGB channels of your cloud dataset for training. Further more, I resize the 384x384 images to 256x256 for more applicable to my own task.

Hovewer, I find two issues in the training procedure. Firstly, the code runs very slowly. A single epoch may consumes about 20~30 minutes in my NVIDIA RTX 3090 GPU, while the utilization of GPU is 0% for most of the time. Secondly, after 100 epoches of training, the predictions are all blank images without any semantic. Although the modifications above will make the model suboptimal, the new results are quite unbelievable as complete failure.
Model Predictions

I will be very appreciate if you could give me any advice.

@Bueryoung
Copy link

@lizijue
As my perspective,the output(in Predictions folder) from test_main.py of this project is not real DN value tif file. It is pixel-level probabilities (for example the direct output of the sigmoid (or softmax) activation function in the last layer of a CNN model)
We need to binarize the probabilities to generate binary masks by provided code(.m file) in https://github.com/SorourMo/38-Cloud-A-Cloud-Segmentation-Dataset/tree/master/evaluation

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