Coder Social home page Coder Social logo

conversion error about caffe-yolo HOT 6 OPEN

xingwangsfu avatar xingwangsfu commented on May 25, 2024 1
conversion error

from caffe-yolo.

Comments (6)

xingwangsfu avatar xingwangsfu commented on May 25, 2024

Hi,
Are you trying to convert your own yolo models to caffemodels?
If yes, you should make sure the configuration in your caffe prototxt file matches the one in .cfg file in yolo. Otherwise, the weight size won't match.

Edit: One thing that should be paid attention to is that you should set the value of pad to be half of the filter size (round down) for CONV layers in caffe prototxt file, but not the one in the (.cfg) files

from caffe-yolo.

stormkingz avatar stormkingz commented on May 25, 2024

@yexiguafuqihao I met the problem too, it probably because that your prototxt and .weights don't match. Please notice that the yolo tiny prototxt provided by this repository is not same as the lastest yolo tiny cfg from darknet repository.

from caffe-yolo.

Soledad89 avatar Soledad89 commented on May 25, 2024

@stormkingz I met the same error as you mentioned above. I wonder how you solve the issue. Change the yolo tiny prototxt or the lastest yolo tiny cfg? And how? Thanks soooooo much.

from caffe-yolo.

stormkingz avatar stormkingz commented on May 25, 2024

@Soledad89 Sorry, I don't have the yolo tiny model data that matches with the prototxt of this repo, and Darknet homepage also don't provide the history model. Old model don't have batchnorm in convolution layer, but the latest yolo model has batchnorm. I have tried to convert from latest yolo tiny model to caffe model, but after conversion, I found the result is likely not correct. I also have confusion about this now.

from caffe-yolo.

kevinkit avatar kevinkit commented on May 25, 2024

Are there any updates on this issue? Now Batchnorm is supported, but this should not have been a problem at the first place, because Batchnorm-Layer do not hold any weights. They are only used in training, and not used for deployment. However, I still ran into this problem when using yolov1 and the provided weight files from the darknet home page - and all for yolov1 - sadly, this error still occurs.

from caffe-yolo.

Arpitharavi avatar Arpitharavi commented on May 25, 2024

Hi,
I am new to using this platform so i just have a couple of questions,
1.Does this work on windows as i have caffe installed in it and i run the commands through windows power shell.
2.When i run the " python create_yolo_caffemodel.py "as per the instructions i get the run time error and its unable to open the yolo_train_val.prototxt
Any help would be appreciated

from caffe-yolo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.