Learning expression actually should not depend on the location of the head. This fixes that issue.

This commit is contained in:
Emiliana 2020-02-21 01:05:41 +01:00
parent e60b9b37bd
commit 6c7392b037

View file

@ -169,8 +169,9 @@ public class OpenSeeExpression : MonoBehaviour
private void SelectPoints() {
List<int> indexList = new List<int>();
for (int i = 0; i < colsBase; i++)
indexList.Add(i);
cols = colsBase;
if (i < 2 || i > 4) // Translation should not be used for training!
indexList.Add(i);
cols = indexList.Count;
if (pointSelection.pointsFaceContour)
foreach (int i in indicesFaceContour) {
indexList.Add(colsBase + i * 3);