Comments (2)
when i used this command "python -m bdd100k.label.to_coco -m ins_seg -i bdd100k_labels_images_val.json -o bdd100k_labels_images_val_coco.json".,the new problem is coming , like :
_[2021-11-11 13:59:01,102 to_coco.py:537 main] Loading annotations...
[2021-11-11 13:59:14,389 to_coco.py:546 main] Start format converting...
0%| | 0/10000 [00:00<?, ?it/s]
Traceback (most recent call last):
File "/home/stan/anaconda3/envs/labelme/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/home/stan/anaconda3/envs/labelme/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/stan/wkstion/labeltool/bdd100k/bdd100k/label/to_coco.py", line 557, in <module>
main()
File "/home/stan/wkstion/labeltool/bdd100k/bdd100k/label/to_coco.py", line 547, in main
frames = bdd100k_to_scalabel(dataset.frames, bdd100k_config)
File "/home/stan/wkstion/labeltool/bdd100k/bdd100k/label/to_scalabel.py", line 58, in bdd100k_to_scalabel
image_anns.labels[i], bdd100k_config, cat_name2id
File "/home/stan/wkstion/labeltool/bdd100k/bdd100k/label/to_scalabel.py", line 35, in deal_bdd100k_category
assert category_name in bdd100k_config.ignored_mapping
AssertionError_
i need request support, thank you!!!
from bdd100k.
Excuse me ,i want Convert "ins_seg_train.json" to coco,i used this command "python -m bdd100k.label.to_coco -m ins_seg -i ins_seg_train.json -o ins_seg_train_coco.json". but the program error: [2021-11-11 13:53:21,270 to_coco.py:537 main] Loading annotations... [2021-11-11 13:53:31,594 to_coco.py:546 main] Start format converting... 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 7000/7000 [00:00<00:00, 46697.44it/s] [2021-11-11 13:53:31,746 to_coco.py:321 bdd100k2coco_ins_seg] Collecting annotations... 0%| | 0/7000 [00:00<?, ?it/s] Traceback (most recent call last): File "/home/stan/anaconda3/envs/labelme/lib/python3.7/runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "/home/stan/anaconda3/envs/labelme/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/home/stan/wkstion/labeltool/bdd100k/bdd100k/label/to_coco.py", line 557, in main() File "/home/stan/wkstion/labeltool/bdd100k/bdd100k/label/to_coco.py", line 548, in main coco = convert_func(frames=frames, config=bdd100k_config.scalabel) File "/home/stan/wkstion/labeltool/bdd100k/bdd100k/label/to_coco.py", line 344, in bdd100k2coco_ins_seg image_anns.name.replace(".jpg", ".png"), File "/home/stan/anaconda3/envs/labelme/lib/python3.7/posixpath.py", line 80, in join a = os.fspath(a) TypeError: expected str, bytes or os.PathLike object, not NoneType
What should I do ~!thanks!
Were you able to solve this issue? Thanks @liuliaocheng
from bdd100k.
Related Issues (20)
- Lane line instance segmentation HOT 1
- How do I convert the BDD100K dataset to something like YoutubeVIS or video instance split dataset HOT 2
- 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
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.