Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

directory @ error/blob.c/OpenBlob/2712 #32

Open
rav0rmat opened this issue Dec 14, 2020 · 1 comment
Open

directory @ error/blob.c/OpenBlob/2712 #32

rav0rmat opened this issue Dec 14, 2020 · 1 comment

Comments

@rav0rmat
Copy link

rav0rmat commented Dec 14, 2020

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.

@bartman081523
Copy link

bartman081523 commented May 25, 2021

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants