{"id":26507497,"url":"https://github.com/milescb/tauvertexcse543","last_synced_at":"2025-03-20T23:20:10.125Z","repository":{"id":260673284,"uuid":"881689092","full_name":"milescb/TauVertexCSE543","owner":"milescb","description":"Estimating the Decay Vertex of Leptonically Decaying Tau Leptons with Deep Learning","archived":false,"fork":false,"pushed_at":"2024-11-26T19:10:15.000Z","size":87199,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-26T20:20:19.345Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/milescb.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-01T03:11:43.000Z","updated_at":"2024-11-26T19:10:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"ddfa4f83-f384-4abf-a27b-dd301cad2a5a","html_url":"https://github.com/milescb/TauVertexCSE543","commit_stats":null,"previous_names":["milescb/tauvertexcse543"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milescb%2FTauVertexCSE543","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milescb%2FTauVertexCSE543/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milescb%2FTauVertexCSE543/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milescb%2FTauVertexCSE543/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/milescb","download_url":"https://codeload.github.com/milescb/TauVertexCSE543/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244706541,"owners_count":20496571,"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":[],"created_at":"2025-03-20T23:20:09.678Z","updated_at":"2025-03-20T23:20:10.120Z","avatar_url":"https://github.com/milescb.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Estimating the Decay Vertex of Leptonically Decaying Tau Leptons with Deep Learning\n\n## Setting up the environment\n\n1. **Create the Conda Environment**:\n    ```sh\n    conda create --name myenv\n    ```\n\n2. **Activate the Conda Environment**:\n    ```sh\n    conda activate myenv\n    ```\n\n3. **Install Dependencies**:\n    ```sh\n    pip install -r requirements.txt\n    ```\n\n## Data\n\nFor convenience, a small dataset used for training is included at `data/data.root`. To download a sample with ~1.7 million events run:\n\n```\ncurl -o data/data_large.root https://cernbox.cern.ch/remote.php/dav/public-files/3w2v4biLSGyi9BL/data_large.root\n```\n\n## Running the code\n\nTo train simply run the training script:\n\n```\npython train.py -out output -epoch 50 -bs 128 -lr 0.0004 --hidden-size 128 --n-gaussians 3\n```\n\nThis saves a trained model to the selected output directory. Then, to test, run the testing script over the trained model:\n\n```\npython test.py --model-path output/model.pth --output-dir plots\n```\n\nA pre-trained network on the large data-set is saved in `output/model_mdn.pth`. To get plots from this immediately, run \n\n```\npython test.py --model-path output/model_mdn.pth\n```\n\nNote: the large dataset must be used for testing this model out of the box. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilescb%2Ftauvertexcse543","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmilescb%2Ftauvertexcse543","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilescb%2Ftauvertexcse543/lists"}