Hi, I’ve been trying to install the 'Deep Visualisation Toolkit http://yosinski.com/deepvis
(as mentioned in lesson 3)
on my Ubuntu box. I’m nearly there, but not quite…
I’m dual booting my PC into Ubuntu 16.04 LTS.
I downloaed the fast.ai github materials,
and successfully ran ‘install-gpu.sh’.
I can run the notebooks, train on the GPU, talk to Kaggle, etc, and all seems to work.
For the Depp Vis. Toolkit:
I tried to install the modified Caffe based on the descriptions on
and
http://caffe.berkeleyvision.org/install_apt.html
I seem to have successfully managed to build Caffe,
as it builds and passes all self-tests (‘make test’, then ‘make runtest’).
If it try to run the visualisation toolkit, I get ImportErrors.
$ ./run_toolbox.py
ImportError: /home/steve/anaconda2/lib/python2.7/site-packages/…/…/libstdc++.so.6: version `GLIBCXX_3.4.21’ not found
Some Googling suggested that the fix was
$ conda install libgcc
This gave:
The following packages will be UPDATED:
anaconda: 4.4.0-np112py27_0 --> custom-py27_0
libgcc: 4.8.5-2 --> 5.2.0-0
Which allowed it to get a liitle further:
$ ./run_toolbox.py
ImportError: /home/steve/git/python/caffe/…/…/build/lib/libcaffe.so.1.0.0-rc3: undefined symbol: _ZN2cv8imencodeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_11_InputArrayERSt6vectorIhSaIhEERKSB_IiSaIiEE
More Googling suggested:
$ conda update anaconda
Which said
The following packages will be UPDATED:
anaconda: custom-py27_0 --> 4.4.0-np112py27_0
The following packages will be DOWNGRADED:
libgcc: 5.2.0-0 --> 4.8.5-2
This then got me back to the original GLIBCXX_3.4.21 error.
So, I’m guessing that the compiler/libraries that I’m using to build Caffe aren’t the same as those used by Anaconda/Python, and this is why I’m getting link trouble?
I’m not sure what to do next. I’m not familiar enough with Linux/Python/Anaconda to know where to look, and I don’t want to risk breaking my working Anaconda/Jupyter fast.ai setup.
Anyone have any advice or insights?
Thanks - Steve
(P.S. Loving the course!)