simple vae style model

This commit is contained in:
k
2025-11-12 12:10:52 -05:00
parent df4cdc8e25
commit 64e66260ec
4 changed files with 33 additions and 46 deletions

View File

@@ -1,14 +1,14 @@
import data
import numpy as np
x = data.load()
x,y = data.dataset(data.load())
size=len(x)
print(size)
x_np = np.stack(x)
x_np = np.expand_dims(x_np, axis=1)
#y_np = np.stack(y)
#y_np = np.expand_dims(y_np, axis=1)
y_np = np.stack(y)
y_np = np.expand_dims(y_np, axis=1)
np.savez_compressed("data",x_np)
np.savez_compressed("data",x_np,y_np)