Giter Site home page Giter Site logo

Comments (11)

xymeng16 avatar xymeng16 commented on May 23, 2024 3

Well, I try to apply padding and resize the picture before the input but sadly neither showed a good performance(my application is car license plate generation, which has a fixed size and aspect ratio). So I traverse the code and find I need to modify the implementation of some layers in ops.py. I think I will open a PR after finishing it. @Kongsea

from cyclegan-tensorflow.

ngeorgis avatar ngeorgis commented on May 23, 2024

Some info here #42

from cyclegan-tensorflow.

Kongsea avatar Kongsea commented on May 23, 2024

Thank you.
It said the input images need to be squared, however, my images are not.
How to process it or modify the code?

from cyclegan-tensorflow.

ngeorgis avatar ngeorgis commented on May 23, 2024

Yes, seem that they need to be square images. Not sure if it is an easy modification to change the source to support non-square images. I may try later. In the meantime, maybe scaling or padding could work but that may depend on your application.

from cyclegan-tensorflow.

Kongsea avatar Kongsea commented on May 23, 2024

Thank you. I will try it too.

from cyclegan-tensorflow.

xymeng16 avatar xymeng16 commented on May 23, 2024

Have u guys got some results on the non-squared images? I'm working on it too.. @Kongsea @ngeorgis

from cyclegan-tensorflow.

Kongsea avatar Kongsea commented on May 23, 2024

Have you achieved it? @xymeng16

from cyclegan-tensorflow.

Kongsea avatar Kongsea commented on May 23, 2024

Look forward to it.

from cyclegan-tensorflow.

mattchiang-gsp avatar mattchiang-gsp commented on May 23, 2024

Just to be clear, is this discussion about "training" on various/bigger image sizes like 512x512 or "evaluating" a model on different sized inputs?

from cyclegan-tensorflow.

Zxr1314 avatar Zxr1314 commented on May 23, 2024

@xymeng16 I try to apply the code on PR data generation,too! You can modify the code to process different W and H size plate images.

from cyclegan-tensorflow.

XuJ1E avatar XuJ1E commented on May 23, 2024

Hello! Is there anyone solve the problem :input image size over 256 ?such as 512 or higher

from cyclegan-tensorflow.

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.