├── .gitignore
├── .travis.yml
├── CreateTrainJob.m
├── DefDataPackages.m
├── EnsemblePredictions.m
├── LICENSE
├── Makefile
├── Merge_LargeData.m
├── PlotValidation.m
├── PreprocessPackage.m
├── PreprocessTrainingData.m
├── PreprocessValidation.m
├── README.md
├── StartPostprocessing.m
├── VERSION
├── aws
├── basic_cloudformation.json
├── delete_keypair.py
├── delete_stack.py
├── describe_stack.py
├── find_running_cloudformations.py
├── find_running_ec2_instances.py
├── get_iam_users.py
├── get_keypairs.py
├── get_updated_ami_mappings.py
├── launch_cdeep3m.py
├── motd
└── run100imagebenchmark.py
├── caffepredict.sh
├── caffetrain.sh
├── commonfunctions.sh
├── mito_testsample
├── testset
│ ├── images.081.png
│ ├── images.082.png
│ ├── images.083.png
│ ├── images.084.png
│ └── images.085.png
├── training
│ ├── images
│ │ ├── images.010.png
│ │ ├── images.011.png
│ │ ├── images.012.png
│ │ ├── images.013.png
│ │ ├── images.014.png
│ │ ├── images.015.png
│ │ ├── images.016.png
│ │ ├── images.017.png
│ │ ├── images.018.png
│ │ ├── images.019.png
│ │ ├── images.020.png
│ │ ├── images.021.png
│ │ ├── images.022.png
│ │ ├── images.023.png
│ │ ├── images.024.png
│ │ ├── images.025.png
│ │ ├── images.026.png
│ │ ├── images.027.png
│ │ ├── images.028.png
│ │ └── images.029.png
│ └── labels
│ │ ├── mitos_3D.010.png
│ │ ├── mitos_3D.011.png
│ │ ├── mitos_3D.012.png
│ │ ├── mitos_3D.013.png
│ │ ├── mitos_3D.014.png
│ │ ├── mitos_3D.015.png
│ │ ├── mitos_3D.016.png
│ │ ├── mitos_3D.017.png
│ │ ├── mitos_3D.018.png
│ │ ├── mitos_3D.019.png
│ │ ├── mitos_3D.020.png
│ │ ├── mitos_3D.021.png
│ │ ├── mitos_3D.022.png
│ │ ├── mitos_3D.023.png
│ │ ├── mitos_3D.024.png
│ │ ├── mitos_3D.025.png
│ │ ├── mitos_3D.026.png
│ │ ├── mitos_3D.027.png
│ │ ├── mitos_3D.028.png
│ │ └── mitos_3D.029.png
└── validation
│ ├── images
│ ├── images.050.png
│ ├── images.051.png
│ ├── images.052.png
│ ├── images.053.png
│ ├── images.054.png
│ ├── images.055.png
│ ├── images.056.png
│ ├── images.057.png
│ ├── images.058.png
│ └── images.059.png
│ └── labels
│ ├── mitos_3D.050.png
│ ├── mitos_3D.051.png
│ ├── mitos_3D.052.png
│ ├── mitos_3D.053.png
│ ├── mitos_3D.054.png
│ ├── mitos_3D.055.png
│ ├── mitos_3D.056.png
│ ├── mitos_3D.057.png
│ ├── mitos_3D.058.png
│ └── mitos_3D.059.png
├── model
├── LICENSE
├── inception_residual_train_prediction_1fm
│ ├── deploy.prototxt
│ ├── label_class_selection.prototxt
│ ├── solver.prototxt
│ └── train_val.prototxt
├── inception_residual_train_prediction_3fm
│ ├── deploy.prototxt
│ ├── label_class_selection.prototxt
│ ├── solver.prototxt
│ └── train_val.prototxt
└── inception_residual_train_prediction_5fm
│ ├── deploy.prototxt
│ ├── label_class_selection.prototxt
│ ├── solver.prototxt
│ └── train_val.prototxt
├── postprocessworker.sh
├── predictworker.sh
├── preprocessworker.sh
├── runprediction.sh
├── runtraining.sh
├── runvalidation.sh
├── scripts
├── Histmatch.m
├── SNEMI3D_metrics.m
├── augment_data.m
├── functions
│ ├── add_z_padding.m
│ ├── augment_image_data_only.m
│ ├── augment_package.m
│ ├── break_large_img.m
│ ├── check_image_size.m
│ ├── check_img_dims.m
│ ├── checkpoint_isbinary.m
│ ├── checkpoint_nobinary.m
│ ├── convert_training_data_to_h5stack.m
│ ├── copy_model.m
│ ├── copy_over_allmodels.m
│ ├── copy_version.m
│ ├── create_dir.m
│ ├── create_predict_outdir.m
│ ├── crop_png.py
│ ├── filter_files.m
│ ├── full_fill.m
│ ├── get_pkg_folders.m
│ ├── get_train_basemodel_names.m
│ ├── get_variation_folders.m
│ ├── hmtransf.m
│ ├── imageimporter.m
│ ├── imageimporter_large.m
│ ├── nanmean.m
│ ├── overlay.py
│ ├── read_files_in_folder.m
│ ├── run_train.m
│ ├── update_solverproto_txt_file.m
│ ├── update_train_val_prototxt.m
│ ├── verify_and_create_train_file.m
│ └── write_train_readme.m
├── generate_16_average_probs.m
├── label2rgb3d.m
├── post_processing
│ ├── Adjust3DWatershed.m
│ ├── Apply3DWatershed.m
│ ├── merge_16_probs_v2.m
│ └── merge_16_probs_v3.m
└── write_label2rgb_image.m
├── singularity
└── ubuntu-xenial64-sdsc-comet
│ ├── Makefile
│ ├── Vagrantfile
│ ├── bootstrap.sh
│ ├── cdeep3m-1.6.2.def
│ └── ubuntu-cuda.def
├── tests
├── RunUnitTests.m
├── caffepredict.sh.bats
├── caffetrain.sh.bats
├── commonfunctions.sh.bats
├── octavetests.bats
├── postprocessworker.sh.bats
├── predictworker.sh.bats
├── preprocessworker.sh.bats
├── runprediction.sh.bats
├── runtraining.sh.bats
├── system
│ ├── 1fmonlydemo2.bats
│ ├── checkstitch.bats
│ ├── demo1.bats
│ ├── demo2.bats
│ ├── retraindemo.bats
│ └── testdata
│ │ └── 2kimage
│ │ └── images.081.mirrored.png
└── trainworker.sh.bats
├── trainworker.sh
└── vagrant
├── Vagrantfile
├── bootstrap.sh
└── cdeep3m_logo-01.png
/.gitignore:
--------------------------------------------------------------------------------
1 | vagrant/.vagrant
2 | vagrant/ubuntu*.log
3 | *.swp
4 | singularity/ubuntu-xenial64-sdsc-comet/.vagrant
5 | singularity/ubuntu-xenial64-sdsc-comet/ubuntu*.log
6 | singularity/ubuntu-xenial64-sdsc-comet/*.img
7 | singularity/ubuntu-xenial64-sdsc-comet/build
8 | dist/
9 |
10 |
--------------------------------------------------------------------------------
/.travis.yml:
--------------------------------------------------------------------------------
1 | language: bash
2 |
3 | before_install:
4 | - sudo apt-get update
5 | - sudo apt-get install -y octave octave-image octave-pkg-dev git python-pip unzip
6 |
7 | # command to install dependencies
8 | install:
9 | - wget https://github.com/stegro/hdf5oct/archive/b047e6e611e874b02740e7465f5d139e74f9765f.zip
10 | - unzip b047e6e611e874b02740e7465f5d139e74f9765f.zip
11 | - pushd hdf5oct-* && make && sudo make install && popd
12 | - wget https://github.com/bats-core/bats-core/archive/v0.4.0.tar.gz
13 | - tar -zxf v0.4.0.tar.gz
14 | - pushd bats-core-0.4.0 && sudo ./install.sh /usr/local && popd
15 |
16 | # command to run tests
17 | script: make test
18 |
19 |
--------------------------------------------------------------------------------
/CreateTrainJob.m:
--------------------------------------------------------------------------------
1 | #!/usr/bin/octave -qf
2 |
3 | % CreateTrainJob
4 | % Generates Training job that uses caffe on3 models, 1fm, 3fm, and 5fm
5 | % -> Outputs trained caffe model to output directory
6 | %
7 | % Syntax : CreateTrainJob.m