Skip to content

Commit

Permalink
adjust commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Liqiu-Chen committed Jul 20, 2024
1 parent 10bba86 commit 4c9d5d0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions lib/models/tbsi_track/tbsi_track.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
from torch.nn.modules.transformer import _get_clones

from lib.models.layers.head import build_box_head, conv
from lib.models.tbsi_track.vit_tbsi_care import vit_base_patch16_224_tbsi
from lib.models.tbsi_track.vit_iimf_care import vit_base_patch16_224_tbsi
from lib.utils.box_ops import box_xyxy_to_cxcywh


class TBSITrack(nn.Module):
class IIMFTrack(nn.Module):
""" This is the base class for TBSITrack developed on OSTrack (Ye et al. ECCV 2022) """

def __init__(self, transformer, box_head, aux_loss=False, head_type="CORNER"):
Expand Down Expand Up @@ -139,7 +139,7 @@ def build_tbsi_track(cfg, training=True):

box_head = build_box_head(cfg, hidden_dim)

model = TBSITrack(
model = IIMFTrack(
backbone,
box_head,
aux_loss=False,
Expand Down
File renamed without changes.

0 comments on commit 4c9d5d0

Please sign in to comment.