Skip to content

Commit

Permalink
Add 3d image transformer in scala and python (intel#443)
Browse files Browse the repository at this point in the history
* add 3d image transformer in scala

* update with comments

* add 3d transformer python api

* fix imageset transform

* update with comments

* update 3d transformer python api and add test case

* add 3d transormer notebook

* update code by comments

* update code with style

* update style

* restore image __init__

* add license for test package

* update python file style check
  • Loading branch information
jenniew authored Sep 17, 2018
1 parent fa4854a commit 056d069
Show file tree
Hide file tree
Showing 28 changed files with 2,463 additions and 19 deletions.
19 changes: 19 additions & 0 deletions apps/image-augmentation-3d/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Image Augmentation for 3D Images
This is a simple example of image augmentation for 3D images using Analytics ZOO API. We use various ways to transform images to augment the dataset.

## Environment
* Python 2.7/3.5/3.6 (numpy 1.11.1)
* Apache Spark 1.6.0/2.1.0 (This version needs to be same with the version you use to build Analytics Zoo)

## Run with Jupyter
* Download Analytics Zoo and build it.
* Run `export SPARK_HOME=the root directory of Spark`.
* Run `export ANALYTICS_ZOO_HOME=the dist directory under the Analytics Zoo project`.
* Run the following bash command to start the jupyter notebook. Change parameter settings as you need, ie `MASTER = local[physcial_core_number]`.
```bash
MASTER=local[*]
${ANALYTICS_ZOO_HOME}/bin/jupyter-with-zoo.sh \
--master ${MASTER} \
--driver-memory 1g \
--executor-memory 1g
```
Loading

0 comments on commit 056d069

Please sign in to comment.