Comments (3)
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.
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.
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)
- Help HOT 2
- pretrained weights for the backbone HOT 4
- About correctly loading in pretraining backbone HOT 6
- about the code implementation of distance calculation for matching HOT 3
- About multi-scale testing HOT 2
- 请问Reliable patch pool里面会保存所有过去帧的信息还是只保存第一帧和前一帧的信息? HOT 4
- about the reweighting operation in two modulators HOT 1
- about Shannon entropy HOT 1
- model inference HOT 1
- How Can I setup dataset and .pth path? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rpcmvos.