ALGORITHM II.
The Main Procedure of our method (gda)
| Input: , , |
| Initialization: , , , |
| Output: |
| For do |
| 1. Sample images from source domain |
| 2. Sample images from target domain |
| 3. Take source and target samples into general subspace |
| 4. Take source and target general features into domain-specific subspaces |
| 5. Take source domain-specific features into source domain-specific discriminator |
| 6. Use source and target domain-specific features to calculate low-rank loss |
| 7. Weigh the source classifier loss by considering low-rank loss |
| 8. Use target domain-specific features to calculate target discriminator loss |
| 9. Update total loss |
| end for |