bbepoch / HoiTransformer

This is the code for HOI Transformer
Apache License 2.0
140 stars 21 forks source link

about number of object categories #12

Closed JackWhite-rwx closed 3 years ago

JackWhite-rwx commented 3 years ago

Excuse me!

It's a grate job, Tanks for what you contribute.

The paper say that HICO-DET has 80 objects,but num_classes is 91 in /models/hoitr.py 345 lines.Why set it like this?

And could you tell me how to get 'hico_train_retag_hoitr.odgt' from hico-det datasets' file?

thank you very much!

bbepoch commented 3 years ago

we have just updated the repo, supporting V-COCO and HOI-A,

  1. Because the 80-category-coco ids is incontinuity, ranging from 1 to 90. We set it to 91 for simplicity though there are some 'blank' indices.
  2. we introduced the annotation format in readme.
JackWhite-rwx commented 3 years ago

OK,Thanks for your answer!

------------------ 原始邮件 ------------------ 发件人: "bbepoch/HoiTransformer" @.>; 发送时间: 2021年7月2日(星期五) 下午5:32 @.>; @.**@.>; 主题: Re: [bbepoch/HoiTransformer] about number of object categories (#12)

we have just updated the repo, supporting V-COCO and HOI-A,

Because the 80-category-coco ids is incontinuity, ranging from 1 to 90. We set it to 91 for simplicity though there are some 'blank' index.

we introduced the annotation format in readme.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

csEylLee commented 1 year ago

we have just updated the repo, supporting V-COCO and HOI-A,

  1. Because the 80-category-coco ids is incontinuity, ranging from 1 to 90. We set it to 91 for simplicity though there are some 'blank' indices.
  2. we introduced the annotation format in readme.

为什么是91而不是90呢?+1是因为空集吗?但是在最后分类层的时候又加了一次1,输出维度变成92了。