A graph autoencoder (GNNAE) for jets in particle physics implemented in PyTorch, mainly used as a baseline for LGAE
To download data:
- Install
JetNet:pip3 install jetnet; - Run
preprocess.pypython utils/data/preprocess.py \ --jet-types g q t w z \ --save-dir "./data"
To train the model, run train.py. An example is provided in examples/train.sh.
Both the encoder and decoder are built upon the GraphNet architecture implemented in models/graphnet.py, which is a fully connected massage passing neural network.
The message passing step of GraphNet is shown in the diagram below. Here, EdgeNet and NodeNet are edge and node functions at the
