Sample code of Chainer.
We can training and recognize anime character face. We use animeface-character-dataset for training. I refered 深層学習でアニメ顔を分類する when I make these program.
Run command in container.
./train.sh
Then animeface.model
will be created in container.
Run command in container.
./recognize.sh <path_to_image_file>
animeface.model
is necessary to recognize.
Recognized image must be in container.
Build Dockerfile.
docker build -t <image_name> .