28 lines
741 B
Bash
28 lines
741 B
Bash
#!/bin/bash
|
|
|
|
# a simple script to test a linode GPU instance for superject abstraction
|
|
|
|
PLACE=/tmp/neural
|
|
|
|
mkdir -p $PLACE
|
|
cd $PLACE
|
|
|
|
echo -e "using the Whitehead glossary..."
|
|
|
|
echo -e "deep daze"
|
|
|
|
export CUDA_VISIBLE_DEVICES=0
|
|
|
|
time imagine "Life-cycle of occasions" --deeper --save-progress --save-every 100
|
|
|
|
echo -e "big sleep"
|
|
|
|
export CUDA_VISIBLE_DEVICES=1
|
|
|
|
time dream "Satisfying propositions" --save-progress --save-every 100 --epochs=2 --iterations=300 --random
|
|
|
|
# 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
|