# cdcaffe **Repository Path**: artinfo1982/cdcaffe ## Basic Information - **Project Name**: cdcaffe - **Description**: 基于官方caffe定制,支持Faster-RCNN、SSD - **Primary Language**: C++ - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-08-04 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # cdcaffe Forked from offical caffe, modified to support faster-rcnn, ssd. Refer to projects below: offical caffe(BVLC): https://github.com/BVLC/caffe faster-rcnn(matlab): https://github.com/ShaoqingRen/faster_rcnn faster-rcnn(python): https://github.com/rbgirshick/py-faster-rcnn faster-rcnn and ssd(Intel): https://github.com/intel/caffe faster-rcnn(mscaffe): https://github.com/lyw94/mscaffe ssd(WeiLiu): https://github.com/weiliu89/caffe/tree/ssd ## **Prepare** ```shell # Ubuntu Server 20.04 LTS sudo apt update sudo apt install libboost-all-dev libhdf5-serial-dev libgflags-dev libgoogle-glog-dev sudo apt install liblmdb-dev libsnappy-dev libopencv-dev libatlas-base-dev sudo apt install python3-pip python3-numpy ``` ## **Compile && Install** ```shell git clone https://github.com/artinfo1982/cdcaffe.git cd cdcaffe cat python/requirements.txt | xargs -L 1 pip3 install -i http://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com mkdir build cd build cmake .. make all -j8 make pycafe # make install (可选) ``` ## **Environment Variable For Python3** ```shell vi .bashrc export PYTHONPATH="/home/cd/cdcaffe/python:${PYTHONPATH}" source .bashrc ``` ## **Test Caffe By Using Python3** ```text cd@cd:~$ python3 Python 3.8.5 (default, Jul 28 2020, 12:59:40) [GCC 9.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import caffe >>> ``` ## **Train and Test** **SSD** https://github.com/artinfo1982/demos/issues/8 **Faster-RCNN** https://github.com/artinfo1982/demos/issues/9