Git Product home page Git Product logo

Comments (3)

Student204161 avatar Student204161 commented on May 23, 2024 1

I figured out my problem. The annotating tool that I used returned a greyscale image (1-channel) which it should do, but it didn't return a monotone mask (if inspecting the PNG I linked above, there are grey pixels which there shouldn't be). By giving all non-zero pixels the value 1, the model works.

from rpcmvos.

JerryX1110 avatar JerryX1110 commented on May 23, 2024 1

Hi, I think you are trying to format your custom dataset into YouTubeVOS format for evaluation, my suggestions are as follows:

  • A binary mask in your case only includes 0 and 1. However, as the number of objects in the YouTubeVOS dataset may be larger than 2, the value of each pixel of the annotated image can be a value larger than 2. That is to say, each pixel of the annotated image is expected to be a value >=0, e.g., the value can be in {0,1,2} if there are two foreground objects at most (here 0 indicates the background). For this point, I think you can have a deeper look at the annotation of YouTubeVOS before evaluating your custom dataset.
  • Specifically, you can print out the value of the annotated image in the read_label function ( ./dataloaders/datasets.py#L450) for the evaluation on YouTubeVOS. Then, I think you can understand the annotation format of YouTubeVOS better. Afterward, you can transform the annotation format of your custom annotated image into the YouTube-VOS format.
  • If you have new problems or questions, feel free to ask me. : )

from rpcmvos.

JerryX1110 avatar JerryX1110 commented on May 23, 2024 1

I figured out my problem. The annotating tool that I used returned a greyscale image (1-channel) which it should do, but it didn't return a monotone mask (if inspecting the PNG I linked above, there are grey pixels which there shouldn't be). By giving all non-zero pixels the value 1, the model works.

Glad to know that you have solved the problem.

from rpcmvos.

Related Issues (11)

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.