|
Algorithm 1 Training Contrasitive AutoEncoder. |
-
1:
for
do
-
2:
for
do
-
3:
Extract online triplets and ground truth.
-
4:
, , =
-
5:
, , =
-
6:
, , =
-
7:
Compute Chamfer Loss and triplet loss.
-
8:
=
-
9:
=
-
10:
=
-
11:
=
-
12:
Calculate and backpropogate the total loss.
-
13:
= + +
-
14:
= +
-
15:
-
16:
end for
-
17:
end for
|