-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
something about data format #85
Comments
The masks should be read by PIL as index masks. See https://github.com/hkchengrex/XMem/blob/main/docs/PALETTE.md |
OK.But The objects with the red mask are the same class of objects, but I hope each of them separated by DEVA, which means I want to mark them in different colors. In this case, do I have to give each object a different ID in the corresponding json file |
In this mode, we don't care about the class. It doesn't matter that they are in the same class. If you want to track them independently, label them independently. On a side note, this type of data seems very out-of-domain. |
Fine,it is the CT of ceramic matrix composites(CMCs),which is applied in high-temperature components of aerospace spacecraft.And again, I want to confirm if in the data set required by DEVA, only a part of the pictures(not all) divided by my own model are needed, and each object is numbered in the corresponding json file, that is, different objects are marked with different colors. |
Yes. |
The json files allow users to propagate segment information (e.g., object classes) to the output. It is not strictly necessary. Max allocated memory is just reporting the maximum amount of GPU memory allocated by PyTorch. |
I think your mask is an RGB image and not an index mask as mentioned above. |
If so,how to change the RGB mask into index mask |
Please see this reply from above. |
The conversion is wrong. You would need to find the unique colors in the image and remap the pixels. The following is a response from Claude 3 Sonnet.
|
Two observations:
It seems to me that your mask input (or conversion) is still buggy. |
Thank you for the update. It is possible that having many targets degrades the output (due to increased noise in memory matching), especially in out-of-domain cases like yours. |
Is there a solution for this case
|
|
The file size exceeds the limit and needs to be sent separately
…------------------ 原始邮件 ------------------
发件人: "hkchengrex/Tracking-Anything-with-DEVA" ***@***.***>;
发送时间: 2024年5月12日(星期天) 凌晨2:06
***@***.***>;
***@***.******@***.***>;
主题: Re: [hkchengrex/Tracking-Anything-with-DEVA] something about data format (Issue #85)
Can you provide all the output frames up to the point of failure so that we can have a closer look?
What if you supply fewer objects but the image remains uncropped?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
The file size exceeds the limit and needs to be sent separately
…------------------ 原始邮件 ------------------
发件人: "hkchengrex/Tracking-Anything-with-DEVA" ***@***.***>;
发送时间: 2024年5月12日(星期天) 凌晨2:06
***@***.***>;
***@***.******@***.***>;
主题: Re: [hkchengrex/Tracking-Anything-with-DEVA] something about data format (Issue #85)
Can you provide all the output frames up to the point of failure so that we can have a closer look?
What if you supply fewer objects but the image remains uncropped?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Hello, have you received the file I sent? Have you found the reason why DEVA can't efficiently identify my dataset |
No, I haven't received anything. |
|
Sorry I cannot check it right now. I'll get back at this later. |
Can you check the "IMG.zip" file? If not, I'll send it to you by email |
Have you found the cause of the problem when deva tracking multiple targets? |
I haven't had the time to test it yet. |
If I want to replace the data format in "example/vipseg" with my own (as shown below), need I give the masked objects(with red colour)different ids, that is, label them with different colors? And need i do this for each picture in my own dataset?
![00037](https://private-user-images.githubusercontent.com/112048746/325076499-5c5c926d-b47d-402d-9428-6add2b877d64.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NTE0MjMsIm5iZiI6MTczOTU1MTEyMywicGF0aCI6Ii8xMTIwNDg3NDYvMzI1MDc2NDk5LTVjNWM5MjZkLWI0N2QtNDAyZC05NDI4LTZhZGQyYjg3N2Q2NC5qcGc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNFQxNjM4NDNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT02ODk3MGM1MDk2YjFhMTdiNmI2MTM2YWJjOTYzM2E0NmYwNmI1MGM4NjFmMDlmNjcwZjRjZGY0MTdiZDRhZTVmJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.4Ybm40UNUBjZ7IZX8CFc219-jgcyEUJO0GO5Qc0ndXo)
The text was updated successfully, but these errors were encountered: