/foodai

Primary LanguageJupyter NotebookMIT LicenseMIT

foodai

Description

Installion instructions

First build the docker image, type these command in the base directory:

docker build -t foodai .

And run the docker image:

docker run -it -p 8888:8888 -v $PWD/foodai:/notebooks/foodai foodai bash

Docker cheatsheet

Remove all images and containers

#!/bin/bash
# Delete all containers
docker rm $(docker ps -a -q)
# Delete all images
docker rm $(docker images -q)

While using data volume containers, you have to remove container with -v flag as docker rm -v. If you don't use the -v flag, the volume will end up as a dangling volume and remain in to the local disk

To delete all dangling volumes, use the following command

docker volume rm `docker volume ls -q -f dangling=true`

Conda cheatsheet

conda env create -f environment.yml
source activate foodai
source deactivate foodai

Datasets

Models

VGG16 model for Keras

Further notes