-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add monkey spinner to train/test scripts before launch
- Loading branch information
1 parent
f9740c5
commit 5b7d47c
Showing
2 changed files
with
28 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,17 +4,23 @@ | |
# Copyright © 2023 Théo Morales <[email protected]> | ||
# | ||
# Distributed under terms of the MIT license. | ||
from rich.console import Console | ||
from rich.live import Live | ||
|
||
if __name__ == "__main__": | ||
console = Console() | ||
status = console.status( | ||
"[bold cyan]Building experiment configurations...", spinner="monkey" | ||
) | ||
with Live(status, console=console): | ||
from hydra_zen import store, zen | ||
|
||
from hydra_zen import store, zen | ||
|
||
from bootstrap.launch_experiment import launch_experiment | ||
from conf import project as project_conf | ||
from conf.experiment import make_experiment_configs | ||
from utils import seed_everything | ||
from bootstrap.launch_experiment import launch_experiment | ||
from conf import project as project_conf | ||
from conf.experiment import make_experiment_configs | ||
from utils import seed_everything | ||
|
||
if __name__ == "__main__": | ||
make_experiment_configs() | ||
make_experiment_configs() | ||
"============ Hydra-Zen ============" | ||
store.add_to_hydra_store( | ||
overwrite_ok=True | ||
|