Hello.
I have a problem running your program:
Caffe is installed in /home/llenz/wrk/lib_src/caffe.
The python stuff is installed in /home/llenz/wrk/lib_src/caffe/python
Without adding the 2nd path to the PYTHON_PATH, the program results in an ImportError: no module named caffe.
So i added the 2nd path to PYTHON_PATH and ran the command:
$ bash train_tracker.sh /home/llenz/petrack/GOTURN/datasets/ALOV300/
WARNING:root:Setting up a new session...
Exception in user code:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/visdom/init.py", line 548, in _send
data=json.dumps(msg),
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 581, in post
return self.request('POST', url, data=data, json=json, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
ConnectionError: HTTPConnectionPool(host='localhost', port=8097): Max retries exceeded with url: /env/main (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fc5b8510850>: Failed to establish a new connection: [Errno 111] Connection refused',))
WARNING:visdom:Visdom python client failed to establish socket to get messages from the server. This feature is optional and can be disabled by initializing Visdom with use_incoming_socket=False
, which will prevent waiting for this request to timeout.
[I 190128 15:14:59 train:21] Caffe path = /usr/local/caffe/python
ERROR:visdom:[Errno 111] Connection refused
[I 190128 15:14:59 train:74] Initializing caffe..
WARNING: Logging before InitGoogleLogging() is written to STDERR
E0128 15:14:59.721976 9976 common.cpp:114] Cannot create Cublas handle. Cublas won't be available.
E0128 15:14:59.723274 9976 common.cpp:121] Cannot create Curand generator. Curand won't be available.
E0128 15:14:59.723295 9976 common.cpp:141] Curand not available. Skipping setting the curand seed.
F0128 15:14:59.725180 9976 common.cpp:152] Check failed: error == cudaSuccess (30 vs. 0) unknown error
*** Check failure stack trace: ***
train_tracker.sh: line 17: 9976 Aborted (core dumped) python -m goturn.train.train --imagenet $IMAGENET_FOLDER --alov $ALOV_FOLDER --init_caffemodel $INIT_CAFFEMODEL --train_prototxt $TRACKER_PROTO --solver_prototxt $SOLVER_PROTO --lamda_shift 5 --lamda_scale 15 --min_scale -0.4 --max_scale 0.4 --gpu_id 0
For some reason the output is saying: "Caffe path = /usr/local/caffe/python, but there is no such folder.
Also i told Python where my caffe is by adding it to the Pythonpath. Also the ImportError is gone..
Please help me.
Greetings!