DingLei14/SCanNet

train and val codes on Landsat-SCD dataset

Closed this issue · 6 comments

Hi, I'm very interested in your work. I have some problems when training on Landsat-SCD dataset. There are blank areas near the corner, and I dont know how to deal with it. I adopt the train and val codes in your previous work and just simply mask the input images and loss in blank areas. However, this leads to quite low SeK.
Could you please give me a little comment or share your train and val codes on Landsat-SCD dataset? Thank you very much!

I have the same problem, the metrics are worse when training the Landsat-SCD dataset.

Hi,
in /datasets I have provided the pre-processing codes for the landsat-SCD dataset. Simply change the dataloader accordingly and adjust few arguments, then you can train on the landsat dataset.

Thanks for your reply! I will try this.
Could you please tell me more about the training details of net_psd in train_SCD_psd.py? Is it a trained teacher model?
Without loading a trained model, the net_psd is a randomly initialized model and can't provide pseudo labels.
Should I first train a teacher model without pseudo labels, and then initialize the student model with the weights of teacher model, so that the net_psd can work as the teacher model in teacher-student paradigm?

Thanks for your reply! I will try this. Could you please tell me more about the training details of net_psd in train_SCD_psd.py? Is it a trained teacher model? Without loading a trained model, the net_psd is a randomly initialized model and can't provide pseudo labels. Should I first train a teacher model without pseudo labels, and then initialize the student model with the weights of teacher model, so that the net_psd can work as the teacher model in teacher-student paradigm?

Hi,
You can check line 79 and line 228 in the training code. Net_psd directly copy the previous round of trained weights, if its accuracy is above a certain level.

I have the same problem, the metrics are worse when training the Landsat-SCD dataset.

The pre-processed data have been updated in the repository description. Please check :)

Hi, I'm very interested in your work. I have some problems when training on Landsat-SCD dataset. There are blank areas near the corner, and I dont know how to deal with it. I adopt the train and val codes in your previous work and just simply mask the input images and loss in blank areas. However, this leads to quite low SeK. Could you please give me a little comment or share your train and val codes on Landsat-SCD dataset? Thank you very much!

The pre-processed data have been updated in the repository description. Please check :)