Git Product home page Git Product logo

Comments (9)

SkalskiP avatar SkalskiP commented on May 23, 2024

Hi @jyC23333! 👋🏻 Could you share the code you run and image you used? Basically something more so I can understand better what happens?

from multimodal-maestro.

jyC23333 avatar jyC23333 commented on May 23, 2024

Hi,@SkalskiP ,my code shows below:

import cv2
import maestro

image = cv2.imread('./鲫鱼.png')

generator = maestro.SegmentAnythingMarkGenerator(device='cuda')
marks = generator.generate(image=image)
marks = maestro.refine_marks(marks=marks)

mark_visualizer = maestro.MarkVisualizer()
marked_image = mark_visualizer.visualize(image=image, marks=marks)

something wrong at this line:

marks = generator.generate(image=image)

original image:
鲫鱼

from multimodal-maestro.

SkalskiP avatar SkalskiP commented on May 23, 2024

Thanks @jyC23333. I'll get back to you!

from multimodal-maestro.

SkalskiP avatar SkalskiP commented on May 23, 2024

Hi @jyC23333 👋🏻 I just tested using the latest version of maestro, and everything works.

Take a look at this Colab.

Make sure to use the 0.1.1rc1 version. Please let me know if that helped.

from multimodal-maestro.

jyC23333 avatar jyC23333 commented on May 23, 2024

@SkalskiP Hi,the bug still exists with the latest version.
image

This is my cuda info:
image

And I'm using torch 2.1.0:
image

from multimodal-maestro.

SkalskiP avatar SkalskiP commented on May 23, 2024

Hi @jyC23333, the bug doesn't exist in the Colab I sent you, so it must be environment-dependent. What version of transformers and supervision you have?

from multimodal-maestro.

jyC23333 avatar jyC23333 commented on May 23, 2024

@SkalskiP Hi,the dependent info is:
image
image

from multimodal-maestro.

hvaria avatar hvaria commented on May 23, 2024

To address the bug, add debug logs around self.pipeline in generate to check data shapes and integrity. Monitor GPU usage to ensure no memory overflow—silent issues may not trigger clear error messages

from multimodal-maestro.

SkalskiP avatar SkalskiP commented on May 23, 2024

I'm very sorry, but I'm extremely busy. I'll try to look at it as soon as possible.

from multimodal-maestro.

Related Issues (7)

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.