Download main.py from fatmur/dynamicworld: direct link, hf CLI and curl.
- Browser
- Download file 435 Bytes
-
https://huggingface.co/fatmur/dynamicworld/resolve/main/main.py
- Command line
-
hf download hf://fatmur/dynamicworld/main.py
-
curl -L -o main.py https://huggingface.co/fatmur/dynamicworld/resolve/main/main.py
435 Bytes
| """Run one experiment configuration through GeoSave's LightningCLI. | |
| python main.py fit --config configs/small_cnn_unet.yaml | |
| """ | |
| from geosave.ml.cli import GeosaveCLI | |
| from modules.supervised.data import DataModule | |
| from modules.supervised.module import Module | |
| if __name__ == "__main__": | |
| GeosaveCLI( | |
| Module, | |
| DataModule, | |
| auto_configure_optimizers=False, | |
| save_config_kwargs={"overwrite": True}, | |
| ) | |