Skip to content

Instantly share code, notes, and snippets.

@tristian2
Created September 20, 2018 23:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tristian2/eaac1a50c15784a6813525edfe5d5a92 to your computer and use it in GitHub Desktop.
Save tristian2/eaac1a50c15784a6813525edfe5d5a92 to your computer and use it in GitHub Desktop.
deepdream google cloud for the band MoonDrive71
sudo apt install git-all
git clone https://github.com/kesara/deepdreamer.git
wget https://raw.githubusercontent.com/BVLC/caffe/master/models/bvlc_googlenet/deploy.prototxt
add line to deploy.prototxt file (use sudo nano deploy.prototxt)
force_backward: true
wget http://dl.caffe.berkeleyvision.org/bvlc_googlenet.caffemodel
wget http://places.csail.mit.edu/model/googlenet_places205.tar.gz
Untar &move
sudo tar -xvf googlenet_places205.tar.gz
Cd googlenet_places205
Sudo Mv * ..
sudo apt-get install ffmpeg
Install google cloud sdk on mac
Then you can
Copy video file from local to remote..
gcloud compute scp /Users/tswo10/Documents/Deepdream/clipped75pc.m4v tristian2@triscaffe-python3-cuda9-1-vm:/home/tristian2
Now issue command
Deepdreaming
Dogs
python3 deepdreamer.py --gpuid 4 --video /media/sf_shared/clipped.mov
places
python3 deepdreamer.py --gpuid 4 --video clipped75pc.m4v --network googlenet_place205
@tristian2
Copy link
Author

yah rough notes, hope you get the drift.. do ask

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment