diff --git a/.gitignore b/.gitignore index f619e91..ed8abb7 100644 --- a/.gitignore +++ b/.gitignore @@ -152,3 +152,10 @@ com_crashlytics_export_strings.xml crashlytics.properties crashlytics-build.properties fabric.properties + +# Generated dataset files +datasets/* +!datasets/pix2code_datasets.z* + +# Training output +bin/ diff --git a/README.md b/README.md index cbe7a2b..101ee2a 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,18 @@ The current implementation is not, in any way, intended, nor able to generate co We could not emphasize enough that this project is experimental and shared for educational purposes only. Both the source code and the datasets are provided to foster future research in machine intelligence and are not designed for end users. +## Setup +### Prerequisites + +- Python 2 or 3 +- pip + +### Install dependencies + +```sh +pip install -r requirements.txt +``` + ## Usage Prepare the data: diff --git a/datasets/pix2code_datasets.z01 b/datasets/pix2code_datasets.z01 index c21d0d2..c03d638 100644 Binary files a/datasets/pix2code_datasets.z01 and b/datasets/pix2code_datasets.z01 differ diff --git a/datasets/pix2code_datasets.z02 b/datasets/pix2code_datasets.z02 index 8437fec..cae402f 100644 Binary files a/datasets/pix2code_datasets.z02 and b/datasets/pix2code_datasets.z02 differ diff --git a/datasets/pix2code_datasets.z03 b/datasets/pix2code_datasets.z03 index 22cf9c4..53ca1ba 100644 Binary files a/datasets/pix2code_datasets.z03 and b/datasets/pix2code_datasets.z03 differ diff --git a/datasets/pix2code_datasets.z04 b/datasets/pix2code_datasets.z04 index 2054b2c..153725d 100644 Binary files a/datasets/pix2code_datasets.z04 and b/datasets/pix2code_datasets.z04 differ diff --git a/datasets/pix2code_datasets.z05 b/datasets/pix2code_datasets.z05 index a5ba271..3df1516 100644 Binary files a/datasets/pix2code_datasets.z05 and b/datasets/pix2code_datasets.z05 differ diff --git a/datasets/pix2code_datasets.z06 b/datasets/pix2code_datasets.z06 index dd5d4ac..cd6188e 100644 Binary files a/datasets/pix2code_datasets.z06 and b/datasets/pix2code_datasets.z06 differ diff --git a/datasets/pix2code_datasets.z07 b/datasets/pix2code_datasets.z07 index 97b8bf5..8ced725 100644 Binary files a/datasets/pix2code_datasets.z07 and b/datasets/pix2code_datasets.z07 differ diff --git a/datasets/pix2code_datasets.z08 b/datasets/pix2code_datasets.z08 index 8239b79..8be8269 100644 Binary files a/datasets/pix2code_datasets.z08 and b/datasets/pix2code_datasets.z08 differ diff --git a/datasets/pix2code_datasets.z09 b/datasets/pix2code_datasets.z09 index b36dcd0..101b7de 100644 Binary files a/datasets/pix2code_datasets.z09 and b/datasets/pix2code_datasets.z09 differ diff --git a/datasets/pix2code_datasets.zip b/datasets/pix2code_datasets.zip index d10eb90..cc92b93 100644 Binary files a/datasets/pix2code_datasets.zip and b/datasets/pix2code_datasets.zip differ diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..3071c5e --- /dev/null +++ b/requirements.txt @@ -0,0 +1,5 @@ +Keras==2.1.2 +numpy==1.13.3 +opencv-python==3.3.0.10 +h5py==2.7.1 +tensorflow==1.4.0