ssd-tensorflow | A Single Shot MultiBox Detector in TensorFlow | Machine Learning library
kandi X-RAY | ssd-tensorflow Summary
kandi X-RAY | ssd-tensorflow Summary
The programs in this repository train and use a Single Shot MultiBox Detector to take an image and draw bounding boxes around objects of certain classes contained in this image. The network is based on the VGG-16 model and uses the approach described in [this paper][1] by Wei Liu et al. The software is generic and easily extendable to any dataset, although I only tried it with [Pascal VOC][2] so far. All you need to do to introduce a new dataset is to create a new source_xxxxxx.py file defining it. Go [here][4] for more info.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Compute the accuracy for each box
- Calculate the intersection between two boxes
- Convert from center to absolute coordinates
- Load the trainval data
- Builds a list of Sample objects
- Build the annotation list
- Build the optimizer
- Smooth l1 loss
- Builds train transforms
- Construct a sampler transform
- Load test data
- Build optimizer from metagraph
- Annotate a set of samples
- Add Detection objects
- Add detections
- Calculate the MAP classification coefficient
- Push images
- Push metrics to the session
- Builds TensorFlow from a meta graph
- Generate samples from samples
- Build valid_transforms
- Push loss to the session
- Builds the layers from a VGG
- Computes the anchors for a given preset
- Decode a list of boxes
- Build the filter summaries
ssd-tensorflow Key Features
ssd-tensorflow Examples and Code Snippets
Community Discussions
Trending Discussions on ssd-tensorflow
QUESTION
I am new to deep learning and I am trying to train my SSD-300 (single shot detector) model which is taking too long. For example even though I ran 50 epochs, it is training for 108370+ global steps. I am using the default train_ssd_network.py file from the official github repo: https://github.com/balancap/SSD-Tensorflow
The command I ran for training:
...ANSWER
Answered 2021-Oct-18 at 01:22Since it does not have a parameter to set the value you want you would have to go into the source code and find where the batch size and test steps are set for the training set. The values you use for training batch size and training steps if determined by your model type and the size of your training data. For example if your were say classifying images and the image shape is (64,64,3) you can probably set a fairly large batch size without getting a resource exhaust error. Say batch_size=100. If your image shape is say (500, 500, 3) then you need a much smaller batch size say batch_size=20. Usually in model.fit you do not need to specify the value of steps. Leave it as None and model.fit will calculate the steps internally. Same is true for model.predict. If you really need to calculate the steps say for the test set you want to go through the test set exactly once. For this to happen batch_size X steps= number of samples in the test set. The code below will calculate that for you. Value bmax is a value you set as the maximum allowable batch_size based on the above discussion. For example below assume there are 10,000 samples in the test set.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ssd-tensorflow
You can use ssd-tensorflow 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