Add exposure autoencoder pretraining

This commit is contained in:
2026-07-09 13:15:57 +08:00
parent 8976f1ed89
commit 8a083ed538
4 changed files with 457 additions and 1 deletions

View File

@@ -42,7 +42,7 @@ def _monthly_exposure_columns() -> list[str]:
def _load_readonly_npy(path: Path) -> np.ndarray:
arr = np.load(path)
arr = np.load(path, mmap_mode="r")
arr.setflags(write=False)
return arr