ojaffe commited on
Commit
323c5bc
·
verified ·
1 Parent(s): 1c7c008

Upload folder using huggingface_hub

Browse files
__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
@@ -164,11 +164,9 @@ def predict_next_frame(ens, context_frames: np.ndarray) -> np.ndarray:
164
 
165
  ar_pred = torch.stack(ar_preds, dim=1)
166
 
167
- # Custom per-step AR weights (nonlinear schedule)
168
- pong_ar_weights = [0.90, 0.90, 0.90, 0.90, 0.70, 0.70, 0.45, 0.45]
169
  predicted = torch.zeros_like(direct_pred)
170
  for step in range(PRED_FRAMES):
171
- ar_weight = pong_ar_weights[step]
172
  direct_weight = 1.0 - ar_weight
173
  predicted[:, step] = ar_weight * ar_pred[:, step] + direct_weight * direct_pred[:, step]
174
 
 
164
 
165
  ar_pred = torch.stack(ar_preds, dim=1)
166
 
 
 
167
  predicted = torch.zeros_like(direct_pred)
168
  for step in range(PRED_FRAMES):
169
+ ar_weight = 0.80
170
  direct_weight = 1.0 - ar_weight
171
  predicted[:, step] = ar_weight * ar_pred[:, step] + direct_weight * direct_pred[:, step]
172