Coder Social home page Coder Social logo

xtagger's Introduction

XTagger

Training setup & tools

status

Setup environment

The following scripts will download miniconda environment and install the required packages for training networks with Keras, Tensorflow & ROOT.

  • for CPU usage only: source Env/setupEnvCPU.sh <installdir>
  • for CPU & GPU usage: source Env/setupEnvFull.sh <installdir>

After the installation the environments can be used with source Env/env_cpu.sh or source Env/env_gpu.sh respectively.

Custom operations

A set of custom operation modules for Tensorflow can be installed using cmake as following. These allow to train on ROOT trees directly and to perform preprocessing of the training data such as resampling.

mkdir Ops/build
cd Ops/build
cmake ..
make

Training using nanoX unpacked samples:

Training is be performed by unpacking jets in extended nanoAOD (NANOX) samples.

python Training/training.py --gpu -b 10000 --train samples/nanox_ctau_10_train.txt --test samples/nanox_ctau_10_test.txt -e 100 --name ctau_10 -c -n 10 --name ctau_10

This would start training using GPUs if available, with a batch size of 10000 and with specified training and testing samples. Furthermore, the training would be performed for 100 epochs and achieving balance of all classes as well as kinematic resampling. The output folder will be created as output/ctau_10. To load a different model, the -m parameter can be used.

xtagger's People

Contributors

vcepaitis avatar matt-komm avatar hayfasfar 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.