#!/bin/bash # a simple script to test a linode GPU instance for superject abstraction PLACE=/tmp/neural/tarot mkdir -p $PLACE cd $PLACE echo "using the Tarot..." phrases=("An energetic nomad on a long hike with wooden staff a green leaf and a small dog." "At the beginning of a magical quest for wisdom an animus of a conman hide beneath the table." "A charismatic female figure meditates on the book of flesh in isolation, oval and white." "Fertility of nature in small green leaves, adam's apple, a pyramid and a baby eagle's wing." "The alchemical gold adorns the throne in a powerful house rooted in matter.") echo "cosmic entanglement..." for i in "${phrases[@]}" do export CUDA_VISIBLE_DEVICES=0 echo "dreaming $i" dream "$i" --save-progress --save-every 20 --epochs=6 --iterations=800 --image-size=512 done #export CUDA_VISIBLE_DEVICES=1 # note in big-sleep.py -> torch,cuda.set_device(1) # and/or CUDA_VISIBLE_DEVICES=1,2 python myscript.py # ffmpeg -r 24 -f image2 -s 1920x1080 -i The_Grand_Evocateur_of_intensity.%d.png -vcodec libx264 -crf 25 -pix_fmt yuv420p The_Grand_Evocateur_of_intensity_m3.mp4