Upload folder using huggingface_hub
Browse files- __pycache__/predict.cpython-311.pyc +0 -0
- predict.py +2 -2
__pycache__/predict.cpython-311.pyc
CHANGED
|
Binary files a/__pycache__/predict.cpython-311.pyc and b/__pycache__/predict.cpython-311.pyc differ
|
|
|
predict.py
CHANGED
|
@@ -167,7 +167,7 @@ def predict_next_frame(ens, context_frames: np.ndarray) -> np.ndarray:
|
|
| 167 |
|
| 168 |
predicted = torch.zeros_like(direct_pred)
|
| 169 |
for step in range(PRED_FRAMES):
|
| 170 |
-
ar_weight = 0.
|
| 171 |
direct_weight = 1.0 - ar_weight
|
| 172 |
predicted[:, step] = ar_weight * ar_pred[:, step] + direct_weight * direct_pred[:, step]
|
| 173 |
|
|
@@ -227,7 +227,7 @@ def predict_next_frame(ens, context_frames: np.ndarray) -> np.ndarray:
|
|
| 227 |
|
| 228 |
predicted = torch.zeros_like(direct_pred)
|
| 229 |
for step in range(PRED_FRAMES):
|
| 230 |
-
ar_weight = 0.
|
| 231 |
direct_weight = 1.0 - ar_weight
|
| 232 |
predicted[:, step] = ar_weight * ar_pred[:, step] + direct_weight * direct_pred[:, step]
|
| 233 |
|
|
|
|
| 167 |
|
| 168 |
predicted = torch.zeros_like(direct_pred)
|
| 169 |
for step in range(PRED_FRAMES):
|
| 170 |
+
ar_weight = 0.8
|
| 171 |
direct_weight = 1.0 - ar_weight
|
| 172 |
predicted[:, step] = ar_weight * ar_pred[:, step] + direct_weight * direct_pred[:, step]
|
| 173 |
|
|
|
|
| 227 |
|
| 228 |
predicted = torch.zeros_like(direct_pred)
|
| 229 |
for step in range(PRED_FRAMES):
|
| 230 |
+
ar_weight = 0.5
|
| 231 |
direct_weight = 1.0 - ar_weight
|
| 232 |
predicted[:, step] = ar_weight * ar_pred[:, step] + direct_weight * direct_pred[:, step]
|
| 233 |
|