caffe icon indicating copy to clipboard operation
caffe copied to clipboard

Caffe on Google Colab to run RefineDet

Open songarsh opened this issue 4 years ago • 0 comments

Hello all,

I'm currently working on implementing the repository https://github.com/sfzhang15/RefineDet. I do not have a powerful GPU on my machine and hence wanted to implement the same on Colab. One of the dependencies to this is Caffe.

When I try to install the build of Caffe using the command, '!apt install caffe-cuda' I get an error.

"/sbin/ldconfig.real: /usr/local/lib/python3.7/dist-packages/ideep4py/lib/libmkldnn.so.0 is not a symbolic link"

PFA, 'Error_Install.txt' for log

Since I encountered this issue; I tried to build caffe from source. Using the commands provided in the LINK. I uncommented the deb-src lines as required & then tried '!apt build-dep caffe-cuda'. However, I ran into the following problem:

"dpkg: error processing archive /tmp/apt-dpkg-install-J23qrE/109-nvidia-cuda-dev_9.1.85-3ubuntu1_amd64.deb (--unpack): trying to overwrite '/usr/include/cublas.h', which is also in package libcublas-dev 10.2.1.243-1 dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)"

PFA, 'Error_SourcesInstall.txt' for log

Can someone please guide me on how to go about correcting this issue?

Regards, Harsh Songara

Error_SourcesInstall (1).txt Error_Install (1).txt

songarsh avatar Apr 28 '21 09:04 songarsh