Giter Site home page Giter Site logo

sge-experiment-runner's Introduction

SGE Experiment Runner

Tool to generate SGE scripts based on an experiment config. The program expects a yaml file config/experiments.yaml and a script to run config/base.sh (both have been pre-populated with an example).

Installation

$ git clone [email protected]:jackdeadman/sge-experiment-runner.git
$ pip install -r requirements.txt

Experiments.yaml

The highest level keys represent the different experiement setups. The special key "base" is not an experiment, all experiments inherit attributes from base (these can be overidden). Each key value pair inside an experiment is passed to config/base.sh in the form --key value --key2 another_value etc.

Running an experiment

python run_experiment.py experiment_name [queue]

The queue parameter is optional and if not specified the base queue config will be used. See the example config to see how to add additional queues.

Using the example config:

python run_experiment.py mse rse

The resulting "sge" file will be displayed and you will be prompted to whether you want to submit this job. This will create the file and place it inside the sge_scripts directory and resulting log files from the job will be dumped to logs

Generated SGE file:

#$ -M [email protected]
#$ -m bea
#$ -l rmem=16G,gpu=1,h_rt=24:00:00
#$ -o logs/mse/20190814-154641.log
#$ -j y
#$ -q rse.q
#$ -P rse
source ~/.bashrc
module load libs/cudnn/7.5.0.56/binary-cuda-9.0.176
loadconda
conda activate video-features

python example.py --learning_rate 0.0001 --batch 100 --images video_frames_small.flist --epochs 5 --loss mse --name mse

sge-experiment-runner's People

Contributors

jackdeadman avatar

Stargazers

 avatar

Watchers

 avatar  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.