Skip to content

Instantly share code, notes, and snippets.

View jarnix's full-sized avatar

Julien Ricard jarnix

View GitHub Profile
@jarnix
jarnix / gist:b73913af28fa7591fffa17b70d2ae280
Created February 15, 2019 14:11
install tensorflow-gpu on windows
conda create --name tf-gpu
conda install -c aaronzs tensorflow-gpu
conda install -c anaconda cudatoolkit
conda install -c anaconda cudnn
conda install keras-gpu
@jarnix
jarnix / bitbucket-webhook.php
Last active August 22, 2020 23:25 — forked from maztch/bitbucket-webhook.php
A simple php script for deploy using bitbucket webhook
<?php
// edit these lines:
// example: /var/www/repositories/project.git
$repo_dir = '~/repository.git';
// example: /var/www/project
$web_root_dir = '~/project';
// example: /var/www/project/scripts/post_deploy.sh
@jarnix
jarnix / dreamImage.py
Last active August 29, 2015 14:24 — forked from jbum/dreamImage.py
# DreamImage.py - parameterized deepdream with support for multiple models,
# auto-image-scaling, guided dreaming and kaleido mode (self-guided).
# Jim Bumgardner 7-12-15
# this assumes the deploy file is called 'deploy.prototxt' - you may need
# to rename it if using a different model such as googlenet_places205.
# sample invocations that produce nice results:
# python dreamImage.py -i $1.jpg -model ../../caffe/models/googlenet_places205 -end inception_3a/output -iter 20 -octaves 5 -o $1_m3a.jpg
# python dreamImage.py -i $1.jpg -model ../../caffe/models/googlenet_places205 -end inception_3b/output -iter 20 -octaves 5 -o $1_m3b.jpg