Code Monkey home page Code Monkey logo

mpid's Introduction

MPID(PyTorch): Multiple Particle Identification, PyTorch version

PyTorch version for MPID. Rewritten from the TensorFlow version for the purpose of production on Fermilab GRID Multiple Particle Identification CNN. MPID taks a 512x512 LArTPC images and returns probablities of having particles from proton, electron, muon, muon and charged pions.

Dependecies:

LArCV, ROOT, PyTorch

Setup:

  1. Setup LArCV using Wiki,
  2. git clone https://github.com/ruian1/MPID_pytorch.git
  3. source setup.sh

Training:

  1. Edit training configures in under ./uboone/run_train.sh
  2. source ./uboone/run_train.sh

Inference:

  1. cd ./uboone
  2. python mpid_inference.py image2d.root (for image2d input).
  3. python inference_pid_torch.py pixel2d.root (for pixel2d input).

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.