| 123456789101112131415161718192021222324 |
- from Model.Modele import *
- from Model.Parametre import *
- from Model.Entrainement import *
- from torchinfo import summary
- from pathlib import Path
- parametre = CL_Param()
- model = CL_Model(parametre)
- pickle_path = next(Path("..").glob("data_cache_*"), None)
- #pickle_path = Path(r"..\data_cache_2025-02-17_200.pkl")
- if os.path.exists(pickle_path):
- with open(pickle_path, "rb") as f:
- Entree, Target, resGlobal, listeJours = pickle.load(f)
- else :
- print("Pas trouvé")
-
- print(Entree.shape)
- summary(model, Entree.shape)
|