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).
$ git clone [email protected]:jackdeadman/sge-experiment-runner.git
$ pip install -r requirements.txt
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.
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
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.