MobileNet-SSD | Caffe implementation of Google MobileNet SSD detection | Machine Learning library
kandi X-RAY | MobileNet-SSD Summary
kandi X-RAY | MobileNet-SSD Summary
A caffe implementation of MobileNet-SSD detection network, with pretrained weights on VOC0712 and mAP=0.727.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Initialize the network
- Ave layer
- Show the classification loss
- Concatenate boxes
- Convert images to image
- Post - process detection
- Preprocess src
- Load weights
- Reshape a layer
- Preprocess expected_proto
- Find the top coordinate of a given layer
- Create an argument parser
MobileNet-SSD Key Features
MobileNet-SSD Examples and Code Snippets
$ echo 'deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo xenial main' | sudo tee /etc/apt/sources.list.d/realsensepublic.list
$ sudo apt-key adv --keyserver keys.gnupg.net --recv-key 6F3EFCDE
$ sudo apt-get update
$ sudo apt-get instal
#/dev/mmcblk1 which is the sd card
UUID=ff2b8c97-7882-4967-bc94-e41ed07f3b83 /media/mendel ext4 defaults 0 2
$ cd /media/mendel
# Create a swapfile else you'll run out of memory compiling.
$ sudo mkdir swapfile
# Now let's increase the size of swap
Tensorflow-gpu==1.10.0&Tensorflow-gpu==1.12.0
cuda =8/9
opencv-python==3.4.0
pillow
matplotlib
1、datsets
imges ,imgs files;
ammitations,xml files;
2、label_map_person.txt ;id,name.
creat_name.py
slim files
python setup.py build
python setup
Community Discussions
Trending Discussions on MobileNet-SSD
QUESTION
I am trying to use this wiki to detect objects with Python OpenCV. But I don't understand this line of code we're supposed to use:
...ANSWER
Answered 2021-Jan-02 at 18:11this wiki asking you to download the .pb file which is a model from the Model Zoo. However the link is broken. Here is the the working link.
MobileNet-SSD v3 is here, you can find other MobileNet_SSD v3 models in the link above as well.
After unzip the downloaded file, you will find the file, frozen_inference_graph.pb. That is the model file you need.
QUESTION
i want to use a custom model on raspberry pi using Google Coral accelerator. I trained the quantized mobilenet-ssd model on my dataset and i have the tflite file and the label txt file. Now i need to use edgetpu_compiler so the tflite file will be optimized for the Google Coral accelerator. The problem is that i can't install it. This is what i get (I followed these instructions: https://coral.ai/docs/edgetpu/compiler/):
pi@raspberrypi:~/Desktop/project/mobilenet_ssd_v2 $ sudo apt-get install edgetpu Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:
The following packages have unmet dependencies: edgetpu : Depends: edgetpu-compiler but it is not installable E: Unable to correct problems, you have held broken packages.
Even when i try to specifically install edgetpu-compiler, it doesn't work:
pi@raspberrypi:~/Desktop/project/mobilenet_ssd_v2 $ sudo apt-get install edgetpu-compiler Reading package lists... Done Building dependency tree Reading state information... Done Package edgetpu-compiler is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source
E: Package 'edgetpu-compiler' has no installation candidate
Any idea how to solve this? or any other way to compile the tflite file?
...ANSWER
Answered 2020-Mar-05 at 21:39This is because the edgetpu compiler is not supported for 32 bits OS, unfortunately. This used to be supported, but coral has moved onto only supporting 64 bits architecture. You can see the requirements here
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install MobileNet-SSD
You can use MobileNet-SSD like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page