Closed Aske-Rosted closed 4 months ago
This pull request allows for proper parsing of labels in the dataset class, such that the new "Direction" (https://github.com/graphnet-team/graphnet/blob/95309556cfd46a4046bc4bd7609888aab649e295/src/graphnet/training/labels.py#L29) can be instantiated correctly from a dataset config by adding the following.
labels: direction: arguments: azimuth_key: azimuth zenith_key: zenith class_name: Direction
to a .yml config file.
@Aske-Rosted If you update this branch with the latest from main, the tests should pass. #656
main
@Aske-Rosted please update this with latest from main before you merge
This pull request allows for proper parsing of labels in the dataset class, such that the new "Direction" (https://github.com/graphnet-team/graphnet/blob/95309556cfd46a4046bc4bd7609888aab649e295/src/graphnet/training/labels.py#L29) can be instantiated correctly from a dataset config by adding the following.
labels: direction: arguments: azimuth_key: azimuth zenith_key: zenith class_name: Direction
to a .yml config file.