-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding wandb to the project configured for the aidos-lab organization…
… and MANTRA project.
- Loading branch information
Showing
6 changed files
with
41 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
from typing import Literal | ||
|
||
from lightning.pytorch.loggers import WandbLogger | ||
|
||
|
||
def get_wandb_logger( | ||
task_name: Literal["orientability", "betti_numbers", "name"], | ||
save_dir="./lightning_logs", | ||
model_name: str = None, | ||
): | ||
wandb_logger = WandbLogger( | ||
project="MANTRA", entity="aidos-labs", save_dir=save_dir | ||
) | ||
wandb_logger.experiment.config["task"] = task_name | ||
if model_name is not None: | ||
wandb_logger.experiment.config["model_name"] = model_name | ||
return wandb_logger |
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
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 |
---|---|---|
@@ -1,8 +1,14 @@ | ||
from experiments.orientability.graphs.GATSimplex2Vec import ( | ||
single_experiment_orientability_gat_simplex2vec, | ||
) | ||
from experiments.orientability.graphs.GCN import ( | ||
single_experiment_orientability_gnn, | ||
) | ||
from experiments.orientability.simplicial_complexes.SCNN import ( | ||
single_experiment_orientability_scnn, | ||
) | ||
|
||
if __name__ == "__main__": | ||
# single_experiment_orientability_gnn() | ||
# single_experiment_orientability_scnn() | ||
single_experiment_orientability_gnn() | ||
single_experiment_orientability_scnn() | ||
single_experiment_orientability_gat_simplex2vec() |
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