Git Product home page Git Product logo

Comments (4)

Jonas1312 avatar Jonas1312 commented on August 17, 2024 3

First you need xml annotations files, you can generate them using LABELIMG.
As zenineasa said, just ignore the load pretrained weights section and modify:

LABELS = [...]

COLORS = [...]

CLASS = 3

# Layer 9
model.add(Conv2D(BOX * (4 + 1 + CLASS), (1, 1), strides=(1, 1), kernel_initializer='he_normal'))
model.add(Activation('linear'))
model.add(Reshape((GRID_H, GRID_W, BOX, 4 + 1 + CLASS)))

from keras-yolo2.

zenineasa avatar zenineasa commented on August 17, 2024

Just ignore the load pretrained weights section. It should work, i guess...

from keras-yolo2.

Heidisnaps avatar Heidisnaps commented on August 17, 2024

@zenineasa thanks ignore the weight.
and it work.

@Jonas1312 thanks!! I tried your solution and it work.
now I training.

from keras-yolo2.

experiencor avatar experiencor commented on August 17, 2024

@Heidisnaps @zenineasa @Jonas1312 you guys are awesome. I will fix layer 9 accordingly.

from keras-yolo2.

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.