Skip to content

Commit

Permalink
Use pycocotools instead of mmpycocotools (#263)
Browse files Browse the repository at this point in the history
  • Loading branch information
GT9505 authored Sep 8, 2021
1 parent a8d4eec commit ad084a6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
_base_ = ['./selsa_troi_faster_rcnn_r50_dc5_7e_imagenetvid.py']
_base_ = ['./selsa_troialign_faster_rcnn_r50_dc5_7e_imagenetvid.py']
model = dict(
detector=dict(
backbone=dict(
Expand Down
2 changes: 1 addition & 1 deletion mmtrack/datasets/imagenet_vid_dataset.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) OpenMMLab. All rights reserved.
from mmdet.datasets import DATASETS
from pycocotools.coco import COCO
from mmdet.datasets.api_wrappers import COCO

from .coco_video_dataset import CocoVideoDataset
from .parsers import CocoVID
Expand Down
3 changes: 2 additions & 1 deletion mmtrack/datasets/parsers/coco_video_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
from collections import defaultdict

import numpy as np
from pycocotools.coco import COCO, _isArrayLike
from mmdet.datasets.api_wrappers import COCO
from pycocotools.coco import _isArrayLike


class CocoVID(COCO):
Expand Down
2 changes: 1 addition & 1 deletion requirements/runtime.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
dotty_dict
matplotlib
mmcls>=0.14.0
mmpycocotools
motmetrics
packaging
pycocotools
seaborn
six
terminaltables
Expand Down

0 comments on commit ad084a6

Please sign in to comment.