All Projects → ysh329 → Darknet2caffe

ysh329 / Darknet2caffe

Licence: bsd-3-clause
Convert Darknet model to Caffe's

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Darknet2caffe

darknet2caffe
Conversion of yolo from DarkNet to Caffe
Stars: ✭ 25 (-45.65%)
Mutual labels:  caffe, conversion, darknet
Darknet2caffe
Convert darknet weights to caffemodel
Stars: ✭ 127 (+176.09%)
Mutual labels:  caffe, darknet
Netron
Visualizer for neural network, deep learning, and machine learning models
Stars: ✭ 17,193 (+37276.09%)
Mutual labels:  caffe, darknet
Php Opencv
php wrapper for opencv
Stars: ✭ 194 (+321.74%)
Mutual labels:  caffe, darknet
Mobilenet Yolo
A caffe implementation of MobileNet-YOLO detection network
Stars: ✭ 825 (+1693.48%)
Mutual labels:  caffe, darknet
caffe weight converter
Caffe-to-Keras weight converter. Can also export weights as Numpy arrays for further processing.
Stars: ✭ 68 (+47.83%)
Mutual labels:  caffe, conversion
Ncnn
ncnn is a high-performance neural network inference framework optimized for the mobile platform
Stars: ✭ 13,376 (+28978.26%)
Mutual labels:  caffe, darknet
Php Opencv Examples
Tutorial for computer vision and machine learning in PHP 7/8 by opencv (installation + examples + documentation)
Stars: ✭ 333 (+623.91%)
Mutual labels:  caffe, darknet
Mmdnn
MMdnn is a set of tools to help users inter-operate among different deep learning frameworks. E.g. model conversion and visualization. Convert models between Caffe, Keras, MXNet, Tensorflow, CNTK, PyTorch Onnx and CoreML.
Stars: ✭ 5,472 (+11795.65%)
Mutual labels:  caffe, darknet
Pytorch Caffe Darknet Convert
convert between pytorch, caffe prototxt/weights and darknet cfg/weights
Stars: ✭ 867 (+1784.78%)
Mutual labels:  caffe, darknet
Mxnet2caffe
convert model from mxnet to caffe without lossing precision
Stars: ✭ 20 (-56.52%)
Mutual labels:  caffe
My Very Deep Caffe
This is an implementation of very deep two stream CNNs for action recognition. The implementation is inspired by Wang et. al., https://github.com/yjxiong/caffe. Some improvements from Wang's implementation include reading videos from LDMB database, faster testing using LDMB interface. The aim is to work better with big dataset such as UCF101, HMDB51, Sports1M and ActivityNet easily.
Stars: ✭ 21 (-54.35%)
Mutual labels:  caffe
Object Detection And Location Realsensed435
Use the Intel D435 real-sensing camera to realize target detection based on the Yolov3 framework under the Opencv DNN framework, and realize the 3D positioning of the Objection according to the depth information. Real-time display of the coordinates in the camera coordinate system.ADD--Using Yolov5 By TensorRT model,AGX-Xavier,RealTime Object Detection
Stars: ✭ 36 (-21.74%)
Mutual labels:  darknet
Vchsm
C++ 11 algorithm implementation for voice conversion using harmonic plus stochastic models
Stars: ✭ 38 (-17.39%)
Mutual labels:  conversion
Chatify
A Laravel package that allows you to add a complete user messaging system into your new/existing Laravel application.
Stars: ✭ 885 (+1823.91%)
Mutual labels:  conversion
Picanet
Stars: ✭ 35 (-23.91%)
Mutual labels:  caffe
Faster Rcnn Cplusplus2
faster-rcnn c++ python model
Stars: ✭ 14 (-69.57%)
Mutual labels:  caffe
Matcaffe2caffe
Convert a matcaffe model (column major) to a pycaffe or c++ caffe (row major) model
Stars: ✭ 14 (-69.57%)
Mutual labels:  caffe
Csprojtovs2017
Tooling for converting pre 2017 project to the new Visual Studio 2017 format.
Stars: ✭ 876 (+1804.35%)
Mutual labels:  conversion
Convolutionalemotion
A deep convolutional neural network system for live emotion detection
Stars: ✭ 40 (-13.04%)
Mutual labels:  caffe

darknet2inferx

This model convertor ported from original supports conversion from darkent to caffe, especially for YOLOv2 and tiny-YOLO etc.

Step1 Caffe Environment

First, ensure caffe installed (converison progress'll use Python interface of caffe), recommanding using Docker image of bvlc/caffe:cpu instead.

Step2 Convert

Use following command, convert darknet model to caffe's:

python darknet2caffe.py DARKNET_CFG DARKNET_WEIGHTS

If last message shows as below, it means successful conversion from darknet to caffe:

Network initialization done.

Next is conversion from caffe to InferXLite:

python caffe2inferx.py CAFFE_PROTOTXT CAFFE_CAFFEMODEL

Appendix

darknet2inferx

Translate to InferXLite directly from darknet:

python darknet2inferx.py DARKNET_CFG DARKNET_WEIGHTS

Check exectuion log in darknet2caffe_convert.log.

Translate *.cfg file to *.prototxt only:

python cfg.py DARKNET_CFG

Old API

Due to the newest API starting with inferx_ in *.c file (such as inferx_convolution), if use old API (without inferx_), you should convert to old API using command below:

python to_old_api_for_c_file.py INFERX_MODEL_C 

TODO

  • [x] auto shape infer for output dimension of reorg layer from darknet to caffe, especially for one-reorg-layer networks like YOLOv2.
  • [x] darknet2inferx
    • [x] support converison of region layer's parameters to variables in *.h file.
    • [x] support yolo_pooling judge/choose in pooling conversion from caffe to inferxlite [DELAY]
  • [x] darknet2caffe
    • [x] support conversion of pooling layer for a special case (input shape same as output shape. More concretely, stride=1 size=2 max pooling, this case's process of darknet will pad 1 for right and down side of input feature map. Thus, this conversion replaces stride=1 size=2 with stride=1 size=1 before cfg2proto. After conversion from weights to caffemodel, an afterward process'll replace pooling setting in cfg file using ground truth params (stride and size) in cfg file).
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].