neural-style-docker
neural-style-docker copied to clipboard
directory @ error/blob.c/OpenBlob/2712
Hello, using the chen-schmidt algoritm I sometimes get the following error
Segmentation fault (core dumped)
convert: unable to open image /tmp/tmpf6s38rl5/rgb_stylized.png': No such file or directory @ error/blob.c/OpenBlob/2712. convert: no images defined
info:' @ error/convert.c/ConvertImageCommand/3210.
@rav0rmat
mkdir images
mkdir images/content
mkdir images/styles
mkdir images/results
Put your styles in images/styles and your content in image/content/
The cd is important (and the reason the images are not found)
The $(pwd):/images
attaches the current working dir (pwd) to the folder /images in the docker machine.
cd images
nvidia-docker run --rm -v $(pwd):/images albarji/neural-style --content content/somecontent.png --style styles/somestyle.png --output results