MOBILENET-SSD Installation and Configuration

Source: Internet
Author: User
Tags git clone
1 Environment Description

Os:ubuntu 16.04 LTS

Python 2.7.12 (System pre-installed) 2 installation CAFFE-SSD

This section refers to the CAFFE-SSD warehouse Readme Document, installation CAFFE-SSD similar to the installation Caffe, you can refer to Caffe (cpu-only) installation and configuration.

Enter the directory where you want to install CAFFE-SSD, and execute the following command to obtain its source code:

git clone https://github.com/weiliu89/caffe.git
cd caffe
git Checkout SSD

into the CAFFE-SSD root directory, run the following command to compile the source code:

# Modify the Makefile.config according to your own situation.
CP Makefile.config.example Makefile.config
make-j8
# Make sure to include $CAFFE _root/python to your Python PATH.
Make-py make
test-j8
# (Optional) make
runtest-j8

Make sure Caffe_root/python is contained in Pythonpath, where caffe_root refers to the root directory of CAFFE-SSD:

Export Pythonpath=/caffe_root/python: $PYTHONPATH
4 Download MOBILENET-SSD and run demo

Run the following command to obtain MOBILENET-SSD source code:

CD $CAFFE _root/examples
git clone https://github.com/chuanqi305/MobileNet-SSD.git

Download the forecast network model Mobilenetssd_deploy.caffemodel put it under the MOBILENET-SSD folder and run the demo with the following command:

Python./demo.py

We can see the results of the forecast.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.