Comments (3)
You can just set the config as the one for semantic segmentation. The config is only used for obtaining the image size.
Specifically, you can run:
python3 -m bdd100k.label.to_mask -m lane_mark \
-i bdd100k/labels/lane/polygons/lane_val.json \
-o bdd100k/labels/lane/masks \
--config sem_seg
Hope that helps!
from bdd100k.
Why did not run the script?
usage: to_mask.py [-h] -i Iusage: to_mask.py [-h] -i INPUT -o OUTPUT [-m {det,ins_seg,box_track,seg_track,pose}] [--nproc NPROC] [--config CONFIG] [-mb MASK_BASE] [-om]
to_mask.py: error: argument -m/--mode: invalid choice: 'lane_mark' (choose from 'det', 'ins_seg', 'box_track', 'seg_track', 'pose')NPUT -o OUTPUT [-m {det,ins_seg,box_track,seg_track,pose}] [--nproc NPROC] [--config CONFIG] [-mb MASK_BASE] [-om]
to_mask.py: error: argument -m/--mode: invalid choice: 'lane_mark' (choose from 'det', 'ins_seg', 'box_track', 'seg_track', 'pose')
running to_mask.py without lane_mark argument
from bdd100k.
That is a bug in our code, thanks for finding this out. You can fix this by editing: https://github.com/bdd100k/bdd100k/blob/master/bdd100k/label/to_coco.py#L60 and including "lane_mark" as an option. We will fix this in the next update, but may take some time.
from bdd100k.
Related Issues (20)
- 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
- Multiprocessing Error HOT 3
- converting labels to mask problem HOT 1
- the specific label classification for Detection 2020 Labels HOT 1
- Extracting a single line for each lane line
- EvalAI submission error! HOT 6
- Converting from coco to BDD100k help
- Error converting labels from BDD100K to COCO HOT 3
- Error converting labels from BDD100K to COCO HOT 2
- error for label when to coco HOT 3
- Download website unreachable HOT 5
- Please update the necessary, optional, and nullable field logic for subclasses of BaseModel in pytandic to accommodate pytandicV2 HOT 1
- EvalAI submission issue, urgent! HOT 2
- Download website unreachable
- Missing data "118754"
- Where is the Json files for Semantic Segmentation?
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.