This repository has been archived by the owner on Nov 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
train with cityscapes #293
Comments
Can you tell me how to use 'lib/datasets/cityscapes/tools/convert_cityscapes_to_coco.py' to convert cityscape to coco format? |
FYI,according to the #111 . |
Hi, did you solve this problem? I got the similar error. @jamestodo Update: |
Hi @jamestodo...were you able to solve your issue? |
Hi! Where did you get the convert_cityscapes_to_coco.py? |
This was referenced Aug 15, 2018
Closing as the issue seems resolved (see @krumo's updated comment above). |
facebook-github-bot
pushed a commit
that referenced
this issue
Sep 3, 2018
xzhewei
pushed a commit
to xzhewei/Detectron
that referenced
this issue
Jan 10, 2019
Summary: Fix for facebookresearch#620 & facebookresearch#293. Pull Request resolved: facebookresearch#624 Reviewed By: ir413 Differential Revision: D9574052 Pulled By: rbgirshick fbshipit-source-id: f44cea71e5cf6e613d319322db62a60ecb814a75
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I want to train a model with cityscapes by using the
configs/getting_started/tutorial_1gpu_e2e_faster_rcnn_R-50-FPN.yaml
.I've changed theNUM_CLASSES
as9
,and the cityscapes dataset in my disk look like the description in thelib/datasets/dataset_catalog.py
.And i converted the cityscapes's annotations format to coco annotations format by the
lib/datasets/cityscapes/tools/convert_cityscapes_to_coco.py
.I trained the model by the cmd
python tools/train_net.py --cfg ./configs/getting_started/tutorial_1gpu_e2e_faster_rcnn_R-50-FPN.yaml
After about 4 hours,the model trained done.And i got the output:
INFO test_engine.py: 212: Wrote detections to: /home/todo/Detectron/output/test/cityscapes_fine_instanceonly_seg_test/generalized_rcnn/detections.pkl INFO test_engine.py: 64: Total inference time: 172.142s INFO task_evaluation.py: 75: Evaluating detections WARNING task_evaluation.py: 83: Cityscapes bbox evaluated using COCO metrics/conversions INFO json_dataset_evaluator.py: 162: Writing bbox results json to: /home/todo/Detectron/output/test/cityscapes_fine_instanceonly_seg_test/generalized_rcnn/bbox_cityscapes_fine_instanceonly_seg_test_results.json INFO task_evaluation.py: 61: Evaluating bounding boxes is done! INFO task_evaluation.py: 180: copypaste: Dataset: cityscapes_fine_instanceonly_seg_test INFO task_evaluation.py: 182: copypaste: Task: box INFO task_evaluation.py: 185: copypaste: AP,AP50,AP75,APs,APm,APl INFO task_evaluation.py: 186: copypaste: -1.0000,-1.0000,-1.0000,-1.0000,-1.0000,-1.0000
The AP all equal to -1.0.Then i run the test demo.Here is the result:
I think it might something error that i didn't know and any suggestion is appreciated.
Thanks a lot!
The text was updated successfully, but these errors were encountered: