Skip to content
Snippets Groups Projects
Commit a6eaa5e2 authored by Erick Lavoie's avatar Erick Lavoie
Browse files

Added experiments for fully-connected in v2 simulator

parent 6b29e683
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env bash
# Path to current script
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
TOOLS=$SCRIPT_DIR/../../../$(cat $SCRIPT_DIR/../../../toolspath); cd $TOOLS
# Add current working directory to executable namespace
export PATH=$PATH:$TOOLS
# Setup root directory for resolution of imports:
# the path of all local python libraries are relative to this
export PYTHONPATH=$TOOLS
# Each command outputs the run directory, which is then used
# by the next command to add parameters and generate information
# used by the simulator. For a list of available options for each
# command, run 'export PYTHONPATH=.; <command> --help'.
setup/meta.py \
--results-directory $SCRIPT_DIR/all \
--seed 1 |
setup/dataset.py \
--name mnist \
--global-train-ratios 0.802568 0.802568 0.802568 0.802568 0.802568 0.802568 0.802568 0.802568 0.802568 0.802568 |
setup/nodes.py \
--nb-nodes 100 \
--local-classes 10 \
--nodes-per-class 100 100 100 100 100 100 100 100 100 100 |
setup/topology/fully-connected.py |
setup/model/linear.py |
simulate/algorithm/d_sgd.py \
--batch-size 128 \
--learning-momentum 0.0 \
--learning-rate 0.1 |
simulate/logger.py |
simulate/run.py \
--nb-epochs 100
#!/usr/bin/env bash
# Path to current script
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
TOOLS=$SCRIPT_DIR/../../../$(cat $SCRIPT_DIR/../../../toolspath); cd $TOOLS
# Add current working directory to executable namespace
export PATH=$PATH:$TOOLS
# Setup root directory for resolution of imports:
# the path of all local python libraries are relative to this
export PYTHONPATH=$TOOLS
# Each command outputs the run directory, which is then used
# by the next command to add parameters and generate information
# used by the simulator. For a list of available options for each
# command, run 'export PYTHONPATH=.; <command> --help'.
setup/meta.py \
--results-directory $SCRIPT_DIR/all \
--seed 1 |
setup/dataset.py \
--name mnist \
--global-train-ratios 0.802568 0.802568 0.802568 0.802568 0.802568 0.802568 0.802568 0.802568 0.802568 0.802568 |
setup/nodes.py \
--nb-nodes 100 \
--local-classes 1 \
--nodes-per-class 10 10 10 10 10 10 10 10 10 10 |
setup/topology/fully-connected.py |
setup/model/linear.py |
simulate/algorithm/d_sgd.py \
--batch-size 128 \
--learning-momentum 0.0 \
--learning-rate 0.1 |
simulate/logger.py |
simulate/run.py \
--nb-epochs 100
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment