Skip to content

Instantly share code, notes, and snippets.

@dnkirill
Last active December 3, 2016 16:37
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 dnkirill/2437a7d32cd07e18100c8e7bb44ffa04 to your computer and use it in GitHub Desktop.
Save dnkirill/2437a7d32cd07e18100c8e7bb44ffa04 to your computer and use it in GitHub Desktop.
#luarocks install loadcaffe
#luarocks install hdf5
#git clone https://github.com/karpathy/neuraltalk2; cd neuraltalk2
#wget http://cs.stanford.edu/people/karpathy/neuraltalk2/checkpoint_v1.zip
#unzip checkpoint_v1.zip -d data
#mkdir samples; cd samples
#wget https://s3-eu-west-1.amazonaws.com/dl-npl/img.zip
#unzip img.zip
#cd ~/torch
#bash update.sh
cd ~/neuraltalk2
th eval.lua -model data/model_id1-501-1448236541.t7 -image_folder samples -num_images 10
# If OK:
cd vis
python -m SimpleHTTPServer
# If you have port 8000 open, see the demo on {instance_public_dns}:8000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment