Giter Club home page Giter Club logo

exatrkx-iml2020's Introduction

Tracking-ML-Exa.TrkX

Building input graphs for Graph Neural Network (GNN) is based on the embedding learning and filtering with multilayer perceptrons, both of which are implemented in Pytorch. The GNN is implemented in the TensorFlow with the graph_nets package.

Installation

conda create --name exatrkx python=3.8

pip install --upgrade pip

pip install -e .

Dependencies not listed in the setup.py are tabulated below. We are referring to their webpage for detailed installation instructions.

Pipelines

The program saves intermediate files after each processing step and we organize those outputs with a predefined structure. Users have to assign two environment variables: TRKXINPUTDIR for tracking input data pointing to the csv files for each event and the detector.csv file should be at its uplevel folder; TRKXOUTPUTDIR for saving output files. It can be done either via export TRKXINPUTDIR=my_input_dir and export TRKXOUTPUTDIR=my-output-dir

Preprocessing

It reads input files, constructs cell features and more importantly figures out truth connections (edges) between hits from the same track. run_lightning.py --action build

Embedding

It uses the hit position and cell information as inputs and embeds each hit into a hidden phasespace where hits from the same track are clustered together. run_lightning.py --action embedding

Filtering

It uses multilayer percetrons to filter out as much fake edges as possible while keeping a high efficiency. run_lightning.py --action filtering

Convert to TF graph

convert2tf.py

Train GNN

train_gnn_tf.py

Evaluate GNN

eval_gnn_tf.py

Track labeling

tracks_from_gnn.py

exatrkx-iml2020's People

Contributors

caditi97 avatar xju2 avatar exatrkx avatar

Stargazers

Zachary Ho avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.