Code Monkey home page Code Monkey logo

Comments (7)

xadrianzetx avatar xadrianzetx commented on September 20, 2024

Hi,

I could push update to allow non square input size. There are no pretrained weights for it, so you'll have to train from scratch.

But in your particular case - I'm not sure if this kind of resolution will work with Edge TPU. I gave it a quick try and compiler failed to create a model.

from coral-deeplab.

mrengineer avatar mrengineer commented on September 20, 2024

Sure, I will do experiments
Maybe 800x800 is good solution Than I will divide picture into 2 parts

from coral-deeplab.

xadrianzetx avatar xadrianzetx commented on September 20, 2024

I had closer look at this and it seems like edgetpu_compiler is not particularly happy about non square inputs for this model (regardless of shape). Since I want to be sure that people using pretrained and finetuned keras model have no problem compiling it to the device, check for square inputs will not be removed.

from coral-deeplab.

mrengineer avatar mrengineer commented on September 20, 2024

Got it. It is very interesting why...

from coral-deeplab.

mrengineer avatar mrengineer commented on September 20, 2024

Dear @xadrianzetx I noticed before that deeplab recognize some objects better when input is larger. Could you advice how to change from 513x513 to 800x800?

from coral-deeplab.

xadrianzetx avatar xadrianzetx commented on September 20, 2024

You can create new instance of keras model with input shape you want like so:

import coral_deeplab as cdl

model = cdl.applications.CoralDeepLabV3(input_shape=(800, 800, 3))

As I said earlier, there are no pretrained weights for this shape, so you have to train this model yourself. I think you can use scripts you posted in other issue to do so.

from coral-deeplab.

mrengineer avatar mrengineer commented on September 20, 2024

FYI: 800x800 trainubg with Nvidia 1080Ti failed, I have switched to try train 512x512

from coral-deeplab.

Related Issues (9)

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.