Welcome new user! You can search existing questions and answers without registering, but please register to post new questions and receive answers. Note that due to large amounts of spam attempts, your first three posts will be manually moderated, so please be patient.
Because of un-manageable amounts of spam despite our use of CAPTCHAs, email authorization, and other tools, we have discontinued this forum (see the 700k+ registered users with validated email addresses at right?). Please email us any questions or post bug reports and feature requests on GitHub at https://github.com/jevois -- The content below remains available for future reference.
Welcome to JeVois Tech Zone, where you can ask questions and receive answers from other members of the community.

I need a program in Phyton to integrate some more pictures.

0 votes
I am using MobileNet + SSD trained on Pascal VOC (20 object classes) , Caffe model for my Robot. It is fucntioning very good with my own Phyton software. Now I want to train some more Pictures (up to 10) in this system and I do not know, how to do it. Is it possible and when, how? Has anybody an example software to do this?

Thank you and best regards

Peter
asked Dec 22, 2019 in Programmer Questions by Peter (580 points)

1 Answer

0 votes

You need to do that offline using whichever method is recommended for that particular network. Once it is retrained, you can copy the weight files to your microSD and edit the config file for your module to load that network by default.

For mobilenet + SSD Caffe model, you would usually use this module:

http://jevois.org/moddoc/DetectionDNN/modinfo.html

or

http://jevois.org/moddoc/PyDetectionDNN/modinfo.html

For the latter (Python version), you can just edit the Python code in JeVois inventor, add a new block like this one:

  elif (model == 'MobileNetV2SSD'):

classnames = '/jevois/share/darknet/yolo/data/coco.names'

modelname = '/jevois/share/opencv-dnn/detection/ssd_mobilenet_v2_coco_2018_03_29.pb'

configname = '/jevois/share/opencv-dnn/detection/ssd_mobilenet_v2_coco_2018_03_29.pbtxt'

with the correct locations for the 3 files: List of class names, weight file, model file.

answered Jan 10, 2020 by JeVois (46,580 points)
...