Coder Social home page Coder Social logo

image_demo.py about yolo-world HOT 4 CLOSED

ailab-cvc avatar ailab-cvc commented on June 2, 2024
image_demo.py

from yolo-world.

Comments (4)

wingman-jr-addon avatar wingman-jr-addon commented on June 2, 2024

I ran into this too - looks like the thresholds weren't cast to numbers. Just made this mod at the end:

    for image_path in images:

        inference_detector(runner,
                           image_path,
                           texts,
                           float(args.topk),
                           float(args.threshold),
                           output_dir=output_dir,
                           use_amp=args.amp,
                           show=args.show)
        progress_bar.update()

from yolo-world.

wingman-jr-addon avatar wingman-jr-addon commented on June 2, 2024

Looks like this got fixed recently, see e.g. https://github.com/AILab-CVC/YOLO-World/blob/master/image_demo.py#L32

from yolo-world.

sczlmy avatar sczlmy commented on June 2, 2024

@wingman-jr-addon Thank you for your explanation, I have successfully run it.

from yolo-world.

wondervictor avatar wondervictor commented on June 2, 2024

Thanks for your interest. If you have any questions about YOLO-World in the future, you're welcome to open a new issue.

from yolo-world.

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.