Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use pycocotools instead of mmpycocotools #263

Merged
merged 1 commit into from
Sep 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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