Skip to content

Commit

Permalink
slight_adjust
Browse files Browse the repository at this point in the history
  • Loading branch information
Aske-Rosted committed Oct 22, 2024
1 parent b0eae5a commit 1993eae
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/04_training/01_train_dynedge.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,14 @@ def main(
validation_dataloader = dm.val_dataloader

# Building model
# Define the backbone architecture, in this example we use the DynEdge architecture

# Define architecture of the backbone, in this example we use the DynEdge architecture
# described in detail in the Jinst paper: https://iopscience.iop.org/article/10.1088/1748-0221/17/11/P11003
backbone = DynEdge(
nb_inputs=graph_definition.nb_outputs,
global_pooling_schemes=["min", "max", "mean", "sum"],
)
# Define the task, loss function as well as optional transformation.
# Define the task.
# In this case we are performing energy reconstruction, with a LogCoshLoss function.
# The target and prediction are transformed using the log10 function. When infering
# the prediction is transformed back to the original scale using 10^x.
Expand Down

0 comments on commit 1993eae

Please sign in to comment.