{"id":26694482,"url":"https://github.com/deeplearnphysics/pytorch-resnet-example","last_synced_at":"2025-08-01T04:09:52.201Z","repository":{"id":45758755,"uuid":"115781874","full_name":"DeepLearnPhysics/pytorch-resnet-example","owner":"DeepLearnPhysics","description":"Resnet example that trains on the 5-particle practice data","archived":false,"fork":false,"pushed_at":"2021-05-11T16:10:14.000Z","size":121,"stargazers_count":15,"open_issues_count":0,"forks_count":18,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-13T00:35:15.232Z","etag":null,"topics":["python","pytorch","resnet"],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DeepLearnPhysics.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-30T07:40:51.000Z","updated_at":"2024-09-20T12:28:42.000Z","dependencies_parsed_at":"2022-08-31T12:41:15.645Z","dependency_job_id":null,"html_url":"https://github.com/DeepLearnPhysics/pytorch-resnet-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeepLearnPhysics%2Fpytorch-resnet-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeepLearnPhysics%2Fpytorch-resnet-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeepLearnPhysics%2Fpytorch-resnet-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeepLearnPhysics%2Fpytorch-resnet-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DeepLearnPhysics","download_url":"https://codeload.github.com/DeepLearnPhysics/pytorch-resnet-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248650456,"owners_count":21139670,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","pytorch","resnet"],"created_at":"2025-03-26T18:29:46.113Z","updated_at":"2025-04-13T00:35:24.440Z","avatar_url":"https://github.com/DeepLearnPhysics.png","language":"Jupyter Notebook","readme":"# PyTorch 5-particle Classifier Example\n\nExample of training using on 5-particle practice sample\n\n### Training\n\nTo run the training, first setup the requirements (below) and then run\n\n    python main.py\n\n### Plotting\n\nPlotting training and results coming in future scripts.\n\n### Requirements\n\n* pytorch, of course\n* ROOT6\n* LArCV2\n* pytorch interface, [LArCVDataset](https://github.com/DeepLearnPhysics/larcvdataset)\n\nAlso, download the training and validation sets from the [open data webpage](http://deeplearnphysics.org/DataChallenge/)\n\n* [Training](http://www.stanford.edu/~kterao/public_data/v0.1.0/2d/classification/five_particles/practice_train_5k.root)\n* [Validation](http://www.stanford.edu/~kterao/public_data/v0.1.0/2d/classification/five_particles/practice_test_5k.root)\n\n\nNote: as it stands, network learns, but overtrains.  Working on setting proper meta-parameters and/or adding data-augmentation.\n\nAlso, you might need to set the GPU device ID in the shell. For example, to set to device `1`,\n\n    export CUDA_VISIBLE_DEVICES=1\n\n\n### Sources\n\n* `main.py` derives from the pytorch examples [repo](https://github.com/pytorch/examples/blob/master/imagenet/main.py)\n* `resnet_example.py` is modified from the pytorch torchvision models resnet module\n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeeplearnphysics%2Fpytorch-resnet-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeeplearnphysics%2Fpytorch-resnet-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeeplearnphysics%2Fpytorch-resnet-example/lists"}