Code for Keras plays catch blog post
python qlearn.py- Generate figures
Code for Keras plays catch blog post
python qlearn.py| from gensim.models import Word2Vec | |
| # Load pretrained model (since intermediate data is not included, the model cannot be refined with additional data) | |
| model = Word2Vec.load_word2vec_format('GoogleNews-vectors-negative300.bin', binary=True, norm_only=True) | |
| dog = model['dog'] | |
| print(dog.shape) | |
| print(dog[:10]) | |
| # Deal with an out of dictionary word: Михаил (Michail) |
| * { | |
| background: #000 !important; | |
| color: #0f0 !important; | |
| outline: solid #f00 1px !important; | |
| } |
caffemodel: age_net.caffemodel
caffemodel_url: https://github.com/GilLevi/AgeGenderDeepLearning/raw/master/models/age_net.caffemodel
| # the IP(s) on which your node server is running. I chose port 3000. | |
| upstream app_geoforce { | |
| server 127.0.0.1:3000; | |
| } | |
| upstream app_pcodes{ | |
| server 127.0.0.1:3001; | |
| } |
| This is free and unencumbered software released into the public domain. | |
| Anyone is free to copy, modify, publish, use, compile, sell, or | |
| distribute this software, either in source code form or as a compiled | |
| binary, for any purpose, commercial or non-commercial, and by any | |
| means. | |
| In jurisdictions that recognize copyright laws, the author or authors | |
| of this software dedicate any and all copyright interest in the | |
| software to the public domain. We make this dedication for the benefit |
As configured in my dotfiles.
start new:
tmux
start new with session name: