Closed Hiroki11x closed 7 years ago
# Creating Server TCP listening socket *:6379: bind: Address already in use
Apparently other servers seem to be working http://qiita.com/horiko/items/bc812a03c9e0566d6338
confirm that,following code
$ redis-cli ping
PONG
How to use redis-cli
http://qiita.com/sawada_masahiko/items/1f60936c421ecab8dfbf
http://kenken0807.hatenablog.com/entry/2016/06/10/103656
Protected mode is valid after redis 3.2.0
wget http://download.redis.io/releases/redis-4.0.0.tar.gz
tar zxvf redis-4.0.0.tar.gz
cd redis-4.0.0
make -j 128
make install PREFIX=/path-to-install
when execute distributed training, the following error message appeared
ValueError: Unknown argument type: key=prefix value=None, value type=<type 'NoneType'
https://github.com/caffe2/caffe2/issues/482
So, I reinstall protobuf & rebuild Caffe2 by adding bellow CMAKE_PREFIX_PATH
CMAKE_PREFIX_PATH=/path-to/protobuf-3.2.0
I installed Redis to /path-to-redis/ as following instaruction https://github.com/kurosawatsuyoshi/doshelper/wiki/1.-redis-Setup%EF%BC%88redis%E3%81%AE%E3%82%BB%E3%83%83%E3%83%88%E3%82%A2%E3%83%83%E3%83%97%EF%BC%89
https://redis.io/topics/quickstart
then, don't mind
I installed Hiredis(This is redis connection library.)
you should edit Makefile as following
then execute
after that, rebuild caffe2
console out put