Spaces:
Build error
Build error
Update src/pixel3dmm/tracking/flame/FLAME.py
Browse files
src/pixel3dmm/tracking/flame/FLAME.py
CHANGED
|
@@ -103,7 +103,7 @@ class FLAME(nn.Module):
|
|
| 103 |
self._register_default_params('expression_params', config.num_exp_params)
|
| 104 |
|
| 105 |
# Static and Dynamic Landmark embeddings for FLAME
|
| 106 |
-
lmk_embeddings = np.load(f'{env_paths.
|
| 107 |
lmk_embeddings = lmk_embeddings[()]
|
| 108 |
|
| 109 |
|
|
|
|
| 103 |
self._register_default_params('expression_params', config.num_exp_params)
|
| 104 |
|
| 105 |
# Static and Dynamic Landmark embeddings for FLAME
|
| 106 |
+
lmk_embeddings = np.load(f'{env_paths.FLAME_MASK_ASSET}/FLAME2020/landmark_embedding.npy', allow_pickle=True, encoding='latin1')
|
| 107 |
lmk_embeddings = lmk_embeddings[()]
|
| 108 |
|
| 109 |
|