deepforge-keras is an extension for deepforge providing keras support.
deepforge-keras can be added to any deepforge deployment with:
deepforge extensions add deepforge-dev/deepforge-keras
This requires that some additional python dependencies are available on the worker machines (including tensorflow). Before starting the worker, be sure to install the conda environment and activate it:
conda env create --file environment.worker.yml
conda activate deepforge-keras
Similarly, be sure to install the server dependencies and activate the respective conda environment:
conda env create --file environment.server.yml
conda activate deepforge-keras-server
deepforge-keras is set up and developed just like a standalone webgme app. First, install the deepforge-keras following:
Second, start mongodb locally by running the mongod executable in your mongodb installation (you may need to create a data directory or set --dbpath).
Then, run the following from the project root:
npm install
npm start
Finally, navigate to http://localhost:8888 to check out deepforge-keras!
Tests are stored in test/ and are run using npm test. It is highly recommended to include tests when submitting new features or fixing bugs.