Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10195146master
| @@ -1,4 +1,5 @@ | |||||
| # The implementation is based on OSTrack, available at https://github.com/botaoye/OSTrack/ | |||||
| # The implementation is adopted from OSTrack, | |||||
| # made publicly available under the MIT License at https://github.com/botaoye/OSTrack/ | |||||
| from easydict import EasyDict as edict | from easydict import EasyDict as edict | ||||
| cfg = edict() | cfg = edict() | ||||
| @@ -1,4 +1,5 @@ | |||||
| # The implementation is based on OSTrack, available at https://github.com/botaoye/OSTrack/ | |||||
| # The implementation is adopted from OSTrack, | |||||
| # made publicly available under the MIT License at https://github.com/botaoye/OSTrack/ | |||||
| import torch.nn as nn | import torch.nn as nn | ||||
| @@ -1,4 +1,5 @@ | |||||
| # The implementation is based on OSTrack, available at https://github.com/botaoye/OSTrack/ | |||||
| # The implementation is adopted from OSTrack, | |||||
| # made publicly available under the MIT License at https://github.com/botaoye/OSTrack/ | |||||
| import math | import math | ||||
| import torch | import torch | ||||
| @@ -1,4 +1,5 @@ | |||||
| # The implementation is based on OSTrack, available at https://github.com/botaoye/OSTrack/ | |||||
| # The implementation is adopted from OSTrack, | |||||
| # made publicly available under the MIT License at https://github.com/botaoye/OSTrack/ | |||||
| import torch | import torch | ||||
| import torch.nn as nn | import torch.nn as nn | ||||
| @@ -1,4 +1,5 @@ | |||||
| # The implementation is based on OSTrack, available at https://github.com/botaoye/OSTrack/ | |||||
| # The implementation is adopted from OSTrack, | |||||
| # made publicly available under the MIT License at https://github.com/botaoye/OSTrack/ | |||||
| import torch.nn as nn | import torch.nn as nn | ||||
| from timm.models.layers import to_2tuple | from timm.models.layers import to_2tuple | ||||
| @@ -1,4 +1,5 @@ | |||||
| # The implementation is based on OSTrack, available at https://github.com/botaoye/OSTrack/ | |||||
| # The implementation is adopted from OSTrack, | |||||
| # made publicly available under the MIT License at https://github.com/botaoye/OSTrack/ | |||||
| import torch.nn as nn | import torch.nn as nn | ||||
| from timm.models.layers import to_2tuple | from timm.models.layers import to_2tuple | ||||
| @@ -1,4 +1,5 @@ | |||||
| # The implementation is based on OSTrack, available at https://github.com/botaoye/OSTrack/ | |||||
| # The implementation is adopted from OSTrack, | |||||
| # made publicly available under the MIT License at https://github.com/botaoye/OSTrack/ | |||||
| import torch | import torch | ||||
| from torch import nn | from torch import nn | ||||
| @@ -1,4 +1,5 @@ | |||||
| # The implementation is based on OSTrack, available at https://github.com/botaoye/OSTrack/ | |||||
| # The implementation is adopted from OSTrack, | |||||
| # made publicly available under the MIT License at https://github.com/botaoye/OSTrack/ | |||||
| import torch | import torch | ||||
| @@ -1,4 +1,5 @@ | |||||
| # The implementation is based on OSTrack, available at https://github.com/botaoye/OSTrack/ | |||||
| # The implementation is adopted from OSTrack, | |||||
| # made publicly available under the MIT License at https://github.com/botaoye/OSTrack/ | |||||
| from functools import partial | from functools import partial | ||||
| import torch | import torch | ||||
| @@ -1,4 +1,5 @@ | |||||
| # The implementation is based on OSTrack, available at https://github.com/botaoye/OSTrack/ | |||||
| # The implementation is adopted from OSTrack, | |||||
| # made publicly available under the MIT License at https://github.com/botaoye/OSTrack/ | |||||
| import torch | import torch | ||||
| from modelscope.models.cv.video_single_object_tracking.config.ostrack import \ | from modelscope.models.cv.video_single_object_tracking.config.ostrack import \ | ||||
| @@ -1,4 +1,5 @@ | |||||
| # The implementation is based on OSTrack, available at https://github.com/botaoye/OSTrack/ | |||||
| # The implementation is adopted from OSTrack, | |||||
| # made publicly available under the MIT License at https://github.com/botaoye/OSTrack/ | |||||
| import math | import math | ||||
| from typing import Optional | from typing import Optional | ||||
| @@ -1,3 +1,4 @@ | |||||
| # Copyright (c) Alibaba, Inc. and its affiliates. | |||||
| import os.path as osp | import os.path as osp | ||||
| from typing import Any, Dict | from typing import Any, Dict | ||||