Download eval.py from EnerTEF/ChebAutoencoder: direct link, hf CLI and curl.
- Browser
- Download file 220 Bytes
-
https://huggingface.co/EnerTEF/ChebAutoencoder/resolve/main/eval.py
- Command line
-
hf download hf://EnerTEF/ChebAutoencoder/eval.py
-
curl -L -o eval.py https://huggingface.co/EnerTEF/ChebAutoencoder/resolve/main/eval.py
220 Bytes
| import torch | |
| from AutoencoderCheb import AutoEncoderModel | |
| model = AutoEncoderModel(cuda_true=True, batch_size=32) | |
| model.load_state_dict(torch.load("ChebAutoencoder/gae_25_08_2025.pt")) | |
| print("model", model) | |
| model.eval() |