Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/04_training/01_train_dynedge.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from graphnet.models import StandardModel
from graphnet.models.detector.prometheus import Prometheus
from graphnet.models.gnn import DynEdge
from graphnet.models.graphs import KNNGraph
from graphnet.models.data_representation import KNNGraph
from graphnet.models.task.reconstruction import EnergyReconstruction
from graphnet.training.callbacks import PiecewiseLinearLR
from graphnet.training.loss_functions import LogCoshLoss
Expand Down
8 changes: 4 additions & 4 deletions src/graphnet/data/curated_datamodule.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class CuratedDataset(GraphNeTDataModule):

Curated Datasets in GraphNeT are pre-converted datasets that have
been prepared for training and evaluation of deep learning models.
On these Datasets, graphnet users can train and benchmark their
On these Datasets, GraphNeT users can train and benchmark their
models against SOTA methods.
"""

Expand Down Expand Up @@ -325,9 +325,9 @@ def prepare_data(self) -> None:
# Download, unzip and delete zipped file
os.makedirs(self.dataset_dir)
file_path = os.path.join(self.dataset_dir, file_hash + ".tar.gz")
os.system(f"wget -O {file_path} {self._mirror}/{file_hash}")
os.system(f"tar -xf {file_path} -C {self.dataset_dir}")
os.system(f"rm {file_path}")
os.system(f"wget -O '{file_path}' {self._mirror}/{file_hash}")
os.system(f"tar -xf '{file_path}' -C {self.dataset_dir}")
os.system(f"rm '{file_path}'")


class IceCubeHostedDataset(CuratedDataset):
Expand Down
2 changes: 1 addition & 1 deletion src/graphnet/datasets/nubench_datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"sensor_pos_x",
"sensor_pos_y",
"sensor_pos_z",
"charge",
"t",
"charge",
]

TRUTH_NUBENCH = [
Expand Down
Loading