Git Product home page Git Product logo

Comments (9)

pierluigiferrari avatar pierluigiferrari commented on May 23, 2024

I haven't seen this issue before and can't think of a plausible explanation yet. It's strange that the size of the box is off but the center of the box is still roughly in the right place. I'll spend some more time on this. A few questions:

  1. Is this the result after using one of the Jupyter notebooks more or less out of the box or did you change a lot of code?
  2. Is this behavior consistent, i.e. do you see the same phenomenon on multiple images?

from ssd_keras.

lababidi avatar lababidi commented on May 23, 2024

from ssd_keras.

pierluigiferrari avatar pierluigiferrari commented on May 23, 2024

Ah, I'm glad you couldn't reproduce it. And yes, if you have a h5 version of the pretrained VGG weights used in the original Caffe implementation that are compatible with this implementation, that would be great :)

from ssd_keras.

lababidi avatar lababidi commented on May 23, 2024

it's approximately 90MB

http://mla.im/r/vgg.h5

from ssd_keras.

lababidi avatar lababidi commented on May 23, 2024

just model.load_weights('vgg.h5) should work. let me know if it doesn't.

from ssd_keras.

pierluigiferrari avatar pierluigiferrari commented on May 23, 2024

I managed to load the VGG weights into the SSD300 model, but I had to rename the predictor layers in the model, because otherwise it tried to load weights into the predictor layers but complained that the shapes wouldn't match. It's weird that there seem to be matching layer names for the SSD300 predictor layers in the weights file.

Do you know the origin of these weights? Also, were they trained on classification or localization / object detection? Most trained weights for VGG out there were trained on classification tasks.

from ssd_keras.

lababidi avatar lababidi commented on May 23, 2024

from ssd_keras.

wushilian avatar wushilian commented on May 23, 2024

Hi,I use keras Apllication model,and it work well.after download keras offered model,you just need model.load_weights('vgg.h5',True)

from ssd_keras.

pierluigiferrari avatar pierluigiferrari commented on May 23, 2024

Thanks Mahmoud! I ported my own VGG-16 weights since yours don't include the convolutionalized fc6 and fc7 weights. I followed the kernel-subsampling procedure of the original implementation for the fc6 and fc7 weights. I trained SSD300 on Pascal VOC with these weights and it works very well. Download link is in the README if you're interested

from ssd_keras.

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.