Skip to content

Commit def5e8b

Browse files
committed
Update model zoo
1 parent 87039dc commit def5e8b

5 files changed

Lines changed: 26 additions & 11 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -194,13 +194,13 @@ We provide multiple HICO-DET pre-trained models here. All the models are trained
194194
<a href="https://github.com/yeliudev/ConsNet/blob/main/configs/consnet_5e_hico_det.py">ConsNet</a>
195195
</td>
196196
<td align="center">—</td>
197-
<td align="center"></td>
198-
<td align="center"></td>
199-
<td align="center"></td>
197+
<td align="center">22.15</td>
198+
<td align="center">17.55</td>
199+
<td align="center">23.52</td>
200200
<td align="center">—</td>
201201
<td align="center">—</td>
202202
<td align="center">
203-
<a href="">model</a> |
203+
<a href="https://catcatserver.xyz/models/consnet/consnet_5e_hico_det/consnet_5e_hico_det-6e89e1d9.pth">model</a> |
204204
<a href="https://catcatserver.xyz/models/consnet/consnet_5e_hico_det/metrics.json">metrics</a>
205205
</td>
206206
</tr>

consnet/api/evaluation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def hico_det_eval(blob,
9494
Returns:
9595
dict: Evaluation results including mean average precision (mAP) and \
9696
mean recall (mRec) values of multiple dataset splits under \
97-
different evaluation mode.
97+
different evaluation modes.
9898
9999
Example:
100100
>>> results = hico_det_eval(blob, '<path-to-anno_bbox.mat>')

consnet/models/builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
# -----------------------------------------------------
66

77
from nncore import Registry, build_object
8-
from nncore.engine import load_checkpoint, set_random_seed
98
from nncore.parallel import NNDataParallel, collate
109
from torch.utils.data import DataLoader
1110

@@ -16,6 +15,7 @@
1615
from mmdet.datasets import DATASETS
1716
from mmdet.datasets import build_dataloader as _build_dataloader
1817
from mmdet.datasets import build_dataset as _build_dataset
18+
from nncore.engine import load_checkpoint, set_random_seed
1919
except ImportError:
2020
pass
2121

docs/index.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,18 @@ ConsNet API is a part of the `ConsNet <https://github.com/yeliudev/ConsNet>`_ pr
2424
consnet.api.data
2525
consnet.api.bbox
2626
consnet.api.evaluation
27+
28+
Citation
29+
-------------------------
30+
31+
If you find this project useful for your research, please kindly cite our paper.
32+
33+
.. code-block:: text
34+
35+
@inproceedings{liu2020consnet,
36+
title={ConsNet: Learning Consistency Graph for Zero-Shot Human-Object Interaction Detection},
37+
author={Liu, Ye and Yuan, Junsong and Chen, Chang Wen},
38+
booktitle={Proceedings of the 28th ACM International Conference on Multimedia},
39+
pages={4235--4243},
40+
year={2020}
41+
}

setup.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ def get_readme():
4747
'Topic :: Utilities',
4848
],
4949
python_requires='>=3.8',
50-
install_requires=[
51-
'nncore>=0.2.2', 'scipy>=1.6', 'torch>=1.6', 'torchvision>=0.7'
52-
],
50+
install_requires=['nncore>=0.2.2', 'scipy>=1.6', 'torch>=1.6'],
5351
extras_require={
54-
'full':
55-
['allennlp>=2.2,<2.3', 'mmcv-full>=1.3,<1.4', 'mmdet>=2.11,<2.12']
52+
'full': [
53+
'allennlp>=2.2,<2.3', 'mmcv-full>=1.3,<1.4', 'mmdet>=2.11,<2.12',
54+
'torchvision>=0.7'
55+
]
5656
},
5757
packages=find_packages(exclude=('.github', 'configs', 'docs', 'tools')))

0 commit comments

Comments
 (0)