neural-style-docker icon indicating copy to clipboard operation
neural-style-docker copied to clipboard

directory @ error/blob.c/OpenBlob/2712

Open rav0rmat opened this issue 3 years ago • 1 comments

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 avatar Dec 14 '20 20:12 rav0rmat

@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

bartman081523 avatar May 25 '21 14:05 bartman081523