Browse Source

fix file header in video-single-object-tracking

Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9857596
master
lanjinpeng.ljp yingda.chen 3 years ago
parent
commit
8820782d42
11 changed files with 11 additions and 22 deletions
  1. +1
    -2
      modelscope/models/cv/video_single_object_tracking/config/ostrack.py
  2. +1
    -2
      modelscope/models/cv/video_single_object_tracking/models/layers/attn.py
  3. +1
    -2
      modelscope/models/cv/video_single_object_tracking/models/layers/attn_blocks.py
  4. +1
    -2
      modelscope/models/cv/video_single_object_tracking/models/layers/head.py
  5. +1
    -2
      modelscope/models/cv/video_single_object_tracking/models/layers/patch_embed.py
  6. +1
    -2
      modelscope/models/cv/video_single_object_tracking/models/ostrack/base_backbone.py
  7. +1
    -2
      modelscope/models/cv/video_single_object_tracking/models/ostrack/ostrack.py
  8. +1
    -2
      modelscope/models/cv/video_single_object_tracking/models/ostrack/utils.py
  9. +1
    -2
      modelscope/models/cv/video_single_object_tracking/models/ostrack/vit_ce.py
  10. +1
    -2
      modelscope/models/cv/video_single_object_tracking/tracker/ostrack.py
  11. +1
    -2
      modelscope/models/cv/video_single_object_tracking/utils/utils.py

+ 1
- 2
modelscope/models/cv/video_single_object_tracking/config/ostrack.py View File

@@ -1,5 +1,4 @@
# The implementation is also open-sourced by the authors as OSTrack, and is available publicly on
# https://github.com/botaoye/OSTrack/
# The implementation is based on OSTrack, available at https://github.com/botaoye/OSTrack/
from easydict import EasyDict as edict

cfg = edict()


+ 1
- 2
modelscope/models/cv/video_single_object_tracking/models/layers/attn.py View File

@@ -1,5 +1,4 @@
# The implementation is also open-sourced by the authors as OSTrack, and is available publicly on
# https://github.com/botaoye/OSTrack/
# The implementation is based on OSTrack, available at https://github.com/botaoye/OSTrack/
import torch.nn as nn




+ 1
- 2
modelscope/models/cv/video_single_object_tracking/models/layers/attn_blocks.py View File

@@ -1,5 +1,4 @@
# The implementation is also open-sourced by the authors as OSTrack, and is available publicly on
# https://github.com/botaoye/OSTrack/
# The implementation is based on OSTrack, available at https://github.com/botaoye/OSTrack/
import math

import torch


+ 1
- 2
modelscope/models/cv/video_single_object_tracking/models/layers/head.py View File

@@ -1,5 +1,4 @@
# The implementation is also open-sourced by the authors as OSTrack, and is available publicly on
# https://github.com/botaoye/OSTrack/
# The implementation is based on OSTrack, available at https://github.com/botaoye/OSTrack/
import torch
import torch.nn as nn



+ 1
- 2
modelscope/models/cv/video_single_object_tracking/models/layers/patch_embed.py View File

@@ -1,5 +1,4 @@
# The implementation is also open-sourced by the authors as OSTrack, and is available publicly on
# https://github.com/botaoye/OSTrack/
# The implementation is based on OSTrack, available at https://github.com/botaoye/OSTrack/
import torch.nn as nn
from timm.models.layers import to_2tuple



+ 1
- 2
modelscope/models/cv/video_single_object_tracking/models/ostrack/base_backbone.py View File

@@ -1,5 +1,4 @@
# The implementation is also open-sourced by the authors as OSTrack, and is available publicly on
# https://github.com/botaoye/OSTrack/
# The implementation is based on OSTrack, available at https://github.com/botaoye/OSTrack/
import torch.nn as nn
from timm.models.layers import to_2tuple



+ 1
- 2
modelscope/models/cv/video_single_object_tracking/models/ostrack/ostrack.py View File

@@ -1,5 +1,4 @@
# The implementation is also open-sourced by the authors as OSTrack, and is available publicly on
# https://github.com/botaoye/OSTrack/
# The implementation is based on OSTrack, available at https://github.com/botaoye/OSTrack/
import torch
from torch import nn



+ 1
- 2
modelscope/models/cv/video_single_object_tracking/models/ostrack/utils.py View File

@@ -1,5 +1,4 @@
# The implementation is also open-sourced by the authors as OSTrack, and is available publicly on
# https://github.com/botaoye/OSTrack/
# The implementation is based on OSTrack, available at https://github.com/botaoye/OSTrack/
import torch




+ 1
- 2
modelscope/models/cv/video_single_object_tracking/models/ostrack/vit_ce.py View File

@@ -1,5 +1,4 @@
# The implementation is also open-sourced by the authors as OSTrack, and is available publicly on
# https://github.com/botaoye/OSTrack/
# The implementation is based on OSTrack, available at https://github.com/botaoye/OSTrack/
from functools import partial

import torch


+ 1
- 2
modelscope/models/cv/video_single_object_tracking/tracker/ostrack.py View File

@@ -1,5 +1,4 @@
# The implementation is also open-sourced by the authors as OSTrack, and is available publicly on
# https://github.com/botaoye/OSTrack/
# The implementation is based on OSTrack, available at https://github.com/botaoye/OSTrack/
import torch

from modelscope.models.cv.video_single_object_tracking.config.ostrack import \


+ 1
- 2
modelscope/models/cv/video_single_object_tracking/utils/utils.py View File

@@ -1,5 +1,4 @@
# The implementation is also open-sourced by the authors as OSTrack, and is available publicly on
# https://github.com/botaoye/OSTrack/
# The implementation is based on OSTrack, available at https://github.com/botaoye/OSTrack/
import math
from typing import Optional



Loading…
Cancel
Save