Algorithm 1. Seg-JDOT stochastic optimization
| Require: xs: source domain images, xt: target domain images, ys: source domain segmentation maps |
| for each source batch and target batch () do |
| fix and , find γ for the given batch |
| fix , and use gradient descent to update and |
| end for |