Spaces:
Sleeping
Sleeping
File size: 708 Bytes
038ee19 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | import os
import pickle
import pandas as pd
import numpy as np
BASE_DIR = r"d:\backmind_os\batchmind_os\data\processed"
files = [
"process_clean.pkl",
"phase_stats.pkl",
"physics_features.pkl",
"chronos_embeddings.pkl",
"X_final.pkl",
"production_clean.pkl"
]
for f in files:
path = os.path.join(BASE_DIR, f)
if not os.path.exists(path):
print(f"{f}: MISSING")
continue
try:
with open(path, "rb") as f_in:
data = pickle.load(f_in)
if hasattr(data, "shape"):
print(f"{f}: {data.shape}")
else:
print(f"{f}: {type(data).__name__}")
except Exception as e:
print(f"{f}: ERROR {str(e)}")
|