Skip to main content
. 2020 Sep 16;20(18):5292. doi: 10.3390/s20185292
Algorithm 1 NAS-HRIS Search Encoder for High-Resolution Remote Sensing Image Segmention
Require:Dtrain: the training set; Dvalid: the validation set; n: batch size; initialized operation set P;
Ensure:
  1: initialized the architecture variable α and the weights ω randomly, learning rate ξ, search epochs
  2: repeat
  3:    Sample batch of data Dt from Dtrain;
  4:    compute Ltrain(ω,α)Dt;
  5:    Updata ω by gradient descent:
            ω=ωξωLtrain(ω,α);
  6:    Sample batch of data Dv from Dvalid;
  7:    compute Lvalid(ω,α)Dv;
  8:    Updata ω by gradient descent:
            α=αξαLvalid(ωξωLtrain(ω,α),α);
  9: until converge