Multi-source (Radar-Optical) and Multi-temporal Land Cover Mapping at object level leveraging hierarchical class relationships.
Tested with Tensorflow 1.15.
The implementation is described in the section 3 (Method) of this paper.
Check the running bash file (run.sh
). The HOb2sRNN.py
python file is waiting for 14 parameters :
python HOb2sRNN.py rad_train_file opt_train_file gt_train_file rad_valid_file opt_valid_file gt_valid_file rad_test_file opt_test_file gt_test_file split_number model_outpath rad_timestamps opt_timestamps hier_pretraining
-
rad_train_file: The radar array for training samples in numpy file format (
.npy
). -
opt_train_file: The optical array for training samples in numpy file format (
.npy
). -
gt_train_file: The ground truth array for training samples in numpy file format (
.npy
). -
rad_valid_file: The radar array for validation samples in numpy file format (
.npy
). -
opt_valid_file: The optical array for validation samples in numpy file format (
.npy
). -
gt_valid_file: The ground truth array for validation samples in numpy file format (
.npy
). -
rad_test_file: The radar array for test samples in numpy file format (
.npy
). -
opt_test_file: The optical array for test samples in numpy file format (
.npy
). -
gt_test_file: The ground truth array for test samples in numpy file format (
.npy
). -
split_number: A number indicating on which split of your datastet the model is trained and used in the model outname. Put any number if you are using only one split of the dataset.
-
model_outpath: The path where models are saved.
-
rad_timestamps: The radar time series length.
-
opt_timestamps: The optical time series length.
-
hier_pretraining: A parameter with value 1 or 2. Choose 1 to used the hierarchical pretraining strategy described in the paper or 2 to make a simple classification.