-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #46 from IBM/develop
Release 0.3
- Loading branch information
Showing
166 changed files
with
3,869 additions
and
2,109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
## Pull Request template | ||
Please, go through these steps before you submit a PR. | ||
|
||
1. Make sure that your PR is not a duplicate. | ||
2. If not, then make sure that: | ||
|
||
2.1. You have done your changes in a separate branch. Branches should have descriptive names that start with either the `fix/` or `feature/` prefixes. Good examples are: `fix/signin-issue` or `feature/new-model`. | ||
|
||
2.2. You have descriptive commits messages with short titles (first line). | ||
|
||
2.3. You have only one commit (if not, squash them into one commit). | ||
|
||
3. **After** these steps, you're ready to open a pull request. | ||
|
||
3.1. Give a descriptive title to your PR. | ||
|
||
3.2. Provide a description of your changes. | ||
|
||
3.3. Put `closes #XXXX` in your comment to auto-close the issue that your PR fixes (if such). | ||
|
||
Important: Please review the [CONTRIBUTING.md](../CONTRIBUTING.md) file for detailed contributing guidelines. | ||
|
||
*Please remove this template before submitting.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
grid_tasks: | ||
- | ||
default_configs: configs/vision/lenet5_mnist.yaml | ||
- | ||
default_configs: configs/vision/simplecnn_mnist.yaml | ||
|
||
# Set exactly the same experiment conditions for the 2 tasks. | ||
grid_overwrite: | ||
training: | ||
problem: | ||
batch_size: &b 1000 | ||
sampler: | ||
name: SubsetRandomSampler | ||
indices: [0, 55000] | ||
# Set the same optimizer parameters. | ||
optimizer: | ||
name: Adam | ||
lr: 0.01 | ||
# Set the same terminal conditions. | ||
terminal_conditions: | ||
loss_stop: 4.0e-2 | ||
episode_limit: 10000 | ||
epoch_limit: 10 | ||
|
||
# Problem parameters: | ||
validation: | ||
problem: | ||
batch_size: *b | ||
sampler: | ||
name: SubsetRandomSampler | ||
indices: [55000, 60000] | ||
|
||
testing: | ||
problem: | ||
batch_size: *b | ||
|
||
grid_settings: | ||
# Set number of repetitions of each experiments. | ||
experiment_repetitions: 5 | ||
# Set number of concurrent running experiments. | ||
max_concurrent_runs: 4 | ||
# Set trainer. | ||
trainer: mip-online-trainer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Training parameters: | ||
training: | ||
problem: | ||
name: &name MNIST | ||
batch_size: &b 64 | ||
use_train_data: True | ||
data_folder: &folder '~/data/mnist' | ||
resize: [32, 32] | ||
# Use sampler that operates on a subset. | ||
sampler: | ||
name: SubsetRandomSampler | ||
indices: [0, 55000] | ||
# optimizer parameters: | ||
optimizer: | ||
name: Adam | ||
lr: 0.01 | ||
# settings parameters | ||
terminal_conditions: | ||
loss_stop: 1.0e-2 | ||
episode_limit: 10000 | ||
epoch_limit: 10 | ||
|
||
# Validation parameters: | ||
validation: | ||
#partial_validation_interval: 100 | ||
problem: | ||
name: *name | ||
batch_size: *b | ||
use_train_data: True # True because we are splitting the training set to: validation and training | ||
data_folder: *folder | ||
resize: [32, 32] | ||
# Use sampler that operates on a subset. | ||
sampler: | ||
name: SubsetRandomSampler | ||
indices: [55000, 60000] | ||
|
||
# Testing parameters: | ||
testing: | ||
problem: | ||
name: *name | ||
batch_size: *b | ||
use_train_data: False | ||
data_folder: *folder | ||
resize: [32, 32] | ||
|
||
# Model parameters: | ||
model: | ||
name: LeNet5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env bash | ||
|
||
cd docs | ||
rm -rf build | ||
|
||
# create html pages | ||
sphinx-build -b html source build | ||
make html | ||
|
||
# open web browser(s) to master table of content | ||
if which firefox | ||
then | ||
firefox build/index.html | ||
fi |
Oops, something went wrong.