Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

Commit

Permalink
Merge pull request #940 from Hakuyume/revert-787-point-data
Browse files Browse the repository at this point in the history
Revert "Add COCOKeypointDataset and vis_keypoint_coco"
  • Loading branch information
Hakuyume authored Dec 9, 2019
2 parents dd53840 + 50ca04f commit fa5981a
Show file tree
Hide file tree
Showing 10 changed files with 4 additions and 563 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
language: python
python:
- 2.7
- 3.6
notifications:
email: false
Expand Down
2 changes: 0 additions & 2 deletions chainercv/datasets/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,9 @@
from chainercv.datasets.cityscapes.cityscapes_utils import cityscapes_semantic_segmentation_label_names # NOQA
from chainercv.datasets.coco.coco_bbox_dataset import COCOBboxDataset # NOQA
from chainercv.datasets.coco.coco_instance_segmentation_dataset import COCOInstanceSegmentationDataset # NOQA
from chainercv.datasets.coco.coco_keypoint_dataset import COCOKeypointDataset # NOQA
from chainercv.datasets.coco.coco_semantic_segmentation_dataset import COCOSemanticSegmentationDataset # NOQA
from chainercv.datasets.coco.coco_utils import coco_bbox_label_names # NOQA
from chainercv.datasets.coco.coco_utils import coco_instance_segmentation_label_names # NOQA
from chainercv.datasets.coco.coco_utils import coco_keypoint_names # NOQA
from chainercv.datasets.coco.coco_utils import coco_semantic_segmentation_label_colors # NOQA
from chainercv.datasets.coco.coco_utils import coco_semantic_segmentation_label_names # NOQA
from chainercv.datasets.cub.cub_keypoint_dataset import CUBKeypointDataset # NOQA
Expand Down
166 changes: 0 additions & 166 deletions chainercv/datasets/coco/coco_keypoint_dataset.py

This file was deleted.

31 changes: 4 additions & 27 deletions chainercv/datasets/coco/coco_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
}
instances_anno_urls = {
'2014': {
'train': 'http://images.cocodataset.org/annotations/'
'annotations_trainval2014.zip',
'val': 'http://images.cocodataset.org/annotations/'
'annotations_trainval2014.zip',
'train': 'http://msvocds.blob.core.windows.net/annotations-1-0-3/'
'instances_train-val2014.zip',
'val': 'http://msvocds.blob.core.windows.net/annotations-1-0-3/'
'instances_train-val2014.zip',
'valminusminival': 'https://dl.dropboxusercontent.com/s/'
's3tw5zcg7395368/instances_valminusminival2014.json.zip',
'minival': 'https://dl.dropboxusercontent.com/s/o43o90bna78omob/'
Expand Down Expand Up @@ -443,26 +443,3 @@ def get_coco(split, img_split, year, mode):


coco_instance_segmentation_label_names = coco_bbox_label_names


coco_keypoint_names = {
0: [
'nose',
'left_eye',
'right_eye',
'left_ear',
'right_ear',
'left_shoulder',
'right_shoulder',
'left_elbow',
'right_elbow',
'left_wrist',
'right_wrist',
'left_hip',
'right_hip',
'left_knee',
'right_knee',
'left_ankle',
'right_ankle'
]
}
1 change: 0 additions & 1 deletion chainercv/visualizations/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from chainercv.visualizations.vis_bbox import vis_bbox # NOQA
from chainercv.visualizations.vis_image import vis_image # NOQA
from chainercv.visualizations.vis_instance_segmentation import vis_instance_segmentation # NOQA
from chainercv.visualizations.vis_keypoint_coco import vis_keypoint_coco # NOQA
from chainercv.visualizations.vis_point import vis_point # NOQA
from chainercv.visualizations.vis_semantic_segmentation import vis_semantic_segmentation # NOQA
Loading

0 comments on commit fa5981a

Please sign in to comment.