Comments (8)
Hello @XiaLiPKU sorry for the late reply, I wanted to make sure I wasnt making a mistake. The issue has nothing to do with how your json files are formatted (although there were some key differences that I had to change in order to match their requirements exactly, without deleting the extra entries). If anyone is interested, here is the thread response where I outline my solution, and what is likely the cause of the problem, which is rooted in a pytorch bug that has persisted for several releases. Thank you for your responsiveness and help!
from bdd100k.
Sorry, the doc here really lack something.
The correct command is here:
python3 -m bdd100k.label.to_coco -m ins_seg|seg_track --only-mask -i ${mask_base} -o ${out_path}
As you only feed bitmasks as the input, the --only-mask
is required.
from bdd100k.
The issue I am having with this annotation set is that it appears to be causing issues in my other code (which I believe is due to the scalabel content)
Can you paste the error report here?
from bdd100k.
More to say. If you want to generate coco with mask in polygon format instead of RLE, you can add --mask-mode polygon
to the command line
from bdd100k.
Here is a link to the thread I am posting on regarding this isssue.
I am also running your solution now to see if it solves things.
from bdd100k.
Hi @XiaLiPKU , going through the json files and comparing to the coco formatting guidelines, I am having trouble understanding a few of the elements saved after running the to_coco
script correctly. For example, it seems that type and video are not compatible with coco. Perhaps I am misunderstanding something, as I thought that these elements were retrieved using these keys (making it to where extra keys are not a problem). But I continue to have issues loading the data with pytorch assuming the data is formatted following the coco guidelines. Have you encountered this before?
from bdd100k.
Indeed, we add some extra elements, and they are used for tracking problems (box_track & seg_track).
However, given my experience, these fields will not influence your usage of MMDet.
For the error reports, can you paste them here? Or you can upload the converted json files.
from bdd100k.
More to say. If you want to generate coco with mask in polygon format instead of RLE, you can add
--mask-mode polygon
to the command line
@XiaLiPKU
I am trying to convert to polygon format using --mask-mode polygon
as you suggested. but it was not recognized.
error: unrecognized arguments: --mask-mode polygon
how to do that?
from bdd100k.
Related Issues (20)
- End-to-end annotations in BDD100k? HOT 3
- eval.ai is not working HOT 4
- Unable to download 100k images HOT 1
- Semantic Segmentation JSON File has images with labels of categories which are listed under Panoptic Segmentation!
- Questions about calculation of mAP
- whereis removed area? I cannot find them
- annotation don't match images
- BDD100K Object Detection on EvalAI submission FileNotFoundError HOT 6
- MOT format to BDD100k format HOT 1
- EvalAI status stuck on "Runnung" HOT 3
- labels of validation set
- MOT2020 source offline; downloads dead slow when it was online HOT 2
- `to_coco_panseg`: leads to OOB `IndexError`
- No module named 'numpy' HOT 1
- Corresponding images for segmentation masks HOT 1
- BDD-X
- EvalAI status stuck on "Runnung"(CVPR2023 MOT)
- conversion of train labels to coco format hangs
- float pixels for bounding boxes? x1 y1 x2 y2
- Eval.run insane memory usage HOT 1
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 bdd100k.