Example of training using on 5-particle practice sample
To run the training, first setup the requirements (below) and then run
python main.py
Plotting training and results coming in future scripts.
- pytorch, of course
- ROOT6
- LArCV2
- pytorch interface, LArCVDataset
Also, download the training and validation sets from the open data webpage
Note: as it stands, network learns, but overtrains. Working on setting proper meta-parameters and/or adding data-augmentation.
Also, you might need to set the GPU device ID in the shell. For example, to set to device 1
,
export CUDA_VISIBLE_DEVICES=1
main.py
derives from the pytorch examples reporesnet_example.py
is modified from the pytorch torchvision models resnet module