Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions nut.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
syntax_version: "7"
project_name: neural-style
docker_image: matthieudelaro/cuda-torch-plus
container_working_directory: /opt/style
enable_nvidia_devices: true
volumes:
main:
host_path: .
container_path: /opt/style
macros:
setup:
usage: download model
actions:
- sh ./models/download_models.sh
run:
usage: run the neural network in the container, on GPU
actions:
- export iterations=1000
- time th neural_style.lua -num_iterations $iterations -seed 123 -style_image style_image.jpg -content_image content_image.jpg -output_image "output_image_`date '+%Y-%m-%d_%Hh%Mmin%S'`.png"