3
0
Fork 0
forked from mirrors/nixpkgs

fast-neural-doodle: fix script name

This commit is contained in:
Michael Raskin 2016-08-31 19:49:18 +02:00
parent 1280b110cb
commit 61fe09d670
2 changed files with 2 additions and 2 deletions

View file

@ -43,12 +43,12 @@ stdenv.mkDerivation rec {
export pythonpath="$PYTHONPATH"
substituteAll "${./get-hdf5-mask.sh}" "$out/bin/get-hdf5-mask"
substituteAll "${./get-mask-hdf5.sh}" "$out/bin/get-mask-hdf5"
substituteAll "${./fast-neural-doodle.sh}" "$out/bin/fast-neural-doodle"
chmod a+x "$out/bin"/*
"$out/bin/get-hdf5-mask" --n_colors=4 --style_image data/Renoir/style.png --style_mask data/Renoir/style_mask.png --target_mask data/Renoir/target_mask.png --out_hdf5 masks.hdf5
"$out/bin/get-mask-hdf5" --n_colors=4 --style_image data/Renoir/style.png --style_mask data/Renoir/style_mask.png --target_mask data/Renoir/target_mask.png --out_hdf5 masks.hdf5
"$out/bin/fast-neural-doodle" -gpu -1 -masks_hdf5 masks.hdf5 -num_iterations 1
'';