Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
Unicorn_pytorch
Commits
f8772570
Commit
f8772570
authored
Jul 18, 2024
by
bailuo
Browse files
init
parents
Changes
813
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
201 additions
and
0 deletions
+201
-0
doc/unicorn.png
doc/unicorn.png
+0
-0
docker/Dockerfile
docker/Dockerfile
+4
-0
exps/default/__pycache__/unicorn_track_tiny.cpython-37.pyc
exps/default/__pycache__/unicorn_track_tiny.cpython-37.pyc
+0
-0
exps/default/__pycache__/unicorn_track_tiny.cpython-38.pyc
exps/default/__pycache__/unicorn_track_tiny.cpython-38.pyc
+0
-0
exps/default/__pycache__/unicorn_track_tiny_sot_only.cpython-37.pyc
...lt/__pycache__/unicorn_track_tiny_sot_only.cpython-37.pyc
+0
-0
exps/default/__pycache__/unicorn_track_tiny_sot_only.cpython-38.pyc
...lt/__pycache__/unicorn_track_tiny_sot_only.cpython-38.pyc
+0
-0
exps/default/__pycache__/unicorn_track_tiny_sot_only_01.cpython-37.pyc
...__pycache__/unicorn_track_tiny_sot_only_01.cpython-37.pyc
+0
-0
exps/default/__pycache__/unicorn_track_tiny_sot_only_dcu.cpython-37.pyc
..._pycache__/unicorn_track_tiny_sot_only_dcu.cpython-37.pyc
+0
-0
exps/default/unicorn_det_convnext_large_800x1280.py
exps/default/unicorn_det_convnext_large_800x1280.py
+17
-0
exps/default/unicorn_det_convnext_tiny_800x1280.py
exps/default/unicorn_det_convnext_tiny_800x1280.py
+14
-0
exps/default/unicorn_det_r50_800x1280.py
exps/default/unicorn_det_r50_800x1280.py
+14
-0
exps/default/unicorn_inst_convnext_tiny_800x1280.py
exps/default/unicorn_inst_convnext_tiny_800x1280.py
+14
-0
exps/default/unicorn_track_large.py
exps/default/unicorn_track_large.py
+16
-0
exps/default/unicorn_track_large_mask.py
exps/default/unicorn_track_large_mask.py
+16
-0
exps/default/unicorn_track_large_mot_challenge.py
exps/default/unicorn_track_large_mot_challenge.py
+19
-0
exps/default/unicorn_track_large_mot_challenge_mask.py
exps/default/unicorn_track_large_mot_challenge_mask.py
+19
-0
exps/default/unicorn_track_r50.py
exps/default/unicorn_track_r50.py
+18
-0
exps/default/unicorn_track_r50_mask.py
exps/default/unicorn_track_r50_mask.py
+18
-0
exps/default/unicorn_track_tiny.py
exps/default/unicorn_track_tiny.py
+16
-0
exps/default/unicorn_track_tiny_mask.py
exps/default/unicorn_track_tiny_mask.py
+16
-0
No files found.
doc/unicorn.png
0 → 100644
View file @
f8772570
145 KB
docker/Dockerfile
0 → 100644
View file @
f8772570
FROM
image.sourcefind.cn:5000/dcu/admin/base/pytorch:1.10.0-centos7.6-dtk-23.04-py37-latest
ENV
DEBIAN_FRONTEND=noninteractive
# COPY requirements.txt requirements.txt
# RUN pip3 install -r requirements.txt -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
exps/default/__pycache__/unicorn_track_tiny.cpython-37.pyc
0 → 100644
View file @
f8772570
File added
exps/default/__pycache__/unicorn_track_tiny.cpython-38.pyc
0 → 100644
View file @
f8772570
File added
exps/default/__pycache__/unicorn_track_tiny_sot_only.cpython-37.pyc
0 → 100644
View file @
f8772570
File added
exps/default/__pycache__/unicorn_track_tiny_sot_only.cpython-38.pyc
0 → 100644
View file @
f8772570
File added
exps/default/__pycache__/unicorn_track_tiny_sot_only_01.cpython-37.pyc
0 → 100644
View file @
f8772570
File added
exps/default/__pycache__/unicorn_track_tiny_sot_only_dcu.cpython-37.pyc
0 → 100644
View file @
f8772570
File added
exps/default/unicorn_det_convnext_large_800x1280.py
0 → 100644
View file @
f8772570
#!/usr/bin/env python3
# -*- coding:utf-8 -*-
# Copyright (c) 2022 ByteDance. All Rights Reserved.
import
os
from
unicorn.exp
import
ExpDet
class
Exp
(
ExpDet
):
def
__init__
(
self
):
super
(
Exp
,
self
).
__init__
()
self
.
exp_name
=
os
.
path
.
split
(
os
.
path
.
realpath
(
__file__
))[
1
].
split
(
"."
)[
0
]
self
.
backbone_name
=
"convnext_large"
self
.
pretrained_name
=
"convnext_large_22k_224.pth"
self
.
in_channels
=
[
384
,
768
,
1536
]
self
.
use_checkpoint
=
True
self
.
input_size
=
(
800
,
1280
)
self
.
test_size
=
(
800
,
1280
)
\ No newline at end of file
exps/default/unicorn_det_convnext_tiny_800x1280.py
0 → 100644
View file @
f8772570
#!/usr/bin/env python3
# -*- coding:utf-8 -*-
# Copyright (c) 2022 ByteDance. All Rights Reserved.
import
os
from
unicorn.exp
import
ExpDet
class
Exp
(
ExpDet
):
def
__init__
(
self
):
super
(
Exp
,
self
).
__init__
()
self
.
exp_name
=
os
.
path
.
split
(
os
.
path
.
realpath
(
__file__
))[
1
].
split
(
"."
)[
0
]
self
.
input_size
=
(
800
,
1280
)
self
.
test_size
=
(
800
,
1280
)
\ No newline at end of file
exps/default/unicorn_det_r50_800x1280.py
0 → 100644
View file @
f8772570
#!/usr/bin/env python3
# -*- coding:utf-8 -*-
# Copyright (c) 2022 ByteDance. All Rights Reserved.
import
os
from
unicorn.exp
import
ExpDet
class
Exp
(
ExpDet
):
def
__init__
(
self
):
super
(
Exp
,
self
).
__init__
()
self
.
exp_name
=
os
.
path
.
split
(
os
.
path
.
realpath
(
__file__
))[
1
].
split
(
"."
)[
0
]
self
.
backbone_name
=
"resnet50"
self
.
in_channels
=
[
512
,
1024
,
2048
]
self
.
input_size
=
(
800
,
1280
)
self
.
test_size
=
(
800
,
1280
)
exps/default/unicorn_inst_convnext_tiny_800x1280.py
0 → 100644
View file @
f8772570
#!/usr/bin/env python3
# -*- coding:utf-8 -*-
# Copyright (c) 2022 ByteDance. All Rights Reserved.
import
os
from
unicorn.exp
import
ExpDetMask
class
Exp
(
ExpDetMask
):
def
__init__
(
self
):
super
(
Exp
,
self
).
__init__
()
self
.
exp_name
=
os
.
path
.
split
(
os
.
path
.
realpath
(
__file__
))[
1
].
split
(
"."
)[
0
]
self
.
input_size
=
(
800
,
1280
)
self
.
test_size
=
(
800
,
1280
)
\ No newline at end of file
exps/default/unicorn_track_large.py
0 → 100644
View file @
f8772570
#!/usr/bin/env python3
# -*- coding:utf-8 -*-
# Copyright (c) 2022 ByteDance. All Rights Reserved.
import
os
from
unicorn.exp
import
ExpTrack
"""
The main setting used in the Unicorn paper (ConvNext-Large Backbone)
We load weights pretrained on COCO with input resolution of 800x1280
"""
class
Exp
(
ExpTrack
):
def
__init__
(
self
):
super
(
Exp
,
self
).
__init__
()
self
.
exp_name
=
os
.
path
.
split
(
os
.
path
.
realpath
(
__file__
))[
1
].
split
(
"."
)[
0
]
self
.
backbone_name
=
"convnext_large"
self
.
in_channels
=
[
384
,
768
,
1536
]
self
.
pretrain_name
=
"unicorn_det_convnext_large_800x1280"
exps/default/unicorn_track_large_mask.py
0 → 100644
View file @
f8772570
#!/usr/bin/env python3
# -*- coding:utf-8 -*-
# Copyright (c) 2022 ByteDance. All Rights Reserved.
import
os
from
unicorn.exp
import
ExpTrackMask
"""
The main setting used in the Unicorn paper (ConvNext-Large Backbone)
We load weights pretrained on COCO with input resolution of 800x1280
"""
class
Exp
(
ExpTrackMask
):
def
__init__
(
self
):
super
(
Exp
,
self
).
__init__
()
self
.
exp_name
=
os
.
path
.
split
(
os
.
path
.
realpath
(
__file__
))[
1
].
split
(
"."
)[
0
]
self
.
backbone_name
=
"convnext_large"
self
.
in_channels
=
[
384
,
768
,
1536
]
self
.
pretrain_name
=
"unicorn_track_large"
exps/default/unicorn_track_large_mot_challenge.py
0 → 100644
View file @
f8772570
#!/usr/bin/env python3
# -*- coding:utf-8 -*-
# Copyright (c) 2022 ByteDance. All Rights Reserved.
import
os
from
unicorn.exp
import
ExpTrack
"""
The main setting used in the Unicorn paper (ConvNext-Large Backbone)
We load weights pretrained on COCO with input resolution of 800x1280
"""
class
Exp
(
ExpTrack
):
def
__init__
(
self
):
super
(
Exp
,
self
).
__init__
()
self
.
exp_name
=
os
.
path
.
split
(
os
.
path
.
realpath
(
__file__
))[
1
].
split
(
"."
)[
0
]
self
.
backbone_name
=
"convnext_large"
self
.
in_channels
=
[
384
,
768
,
1536
]
self
.
pretrain_name
=
"unicorn_det_convnext_large_800x1280"
self
.
mot_test_name
=
"motchallenge"
self
.
num_classes
=
1
self
.
mhs
=
False
exps/default/unicorn_track_large_mot_challenge_mask.py
0 → 100644
View file @
f8772570
#!/usr/bin/env python3
# -*- coding:utf-8 -*-
# Copyright (c) 2022 ByteDance. All Rights Reserved.
import
os
from
unicorn.exp
import
ExpTrackMask
"""
The main setting used in the Unicorn paper (ConvNext-Large Backbone)
We load weights pretrained on COCO with input resolution of 800x1280
"""
class
Exp
(
ExpTrackMask
):
def
__init__
(
self
):
super
(
Exp
,
self
).
__init__
()
self
.
exp_name
=
os
.
path
.
split
(
os
.
path
.
realpath
(
__file__
))[
1
].
split
(
"."
)[
0
]
self
.
backbone_name
=
"convnext_large"
self
.
in_channels
=
[
384
,
768
,
1536
]
self
.
pretrain_name
=
"unicorn_track_large_mot_challenge"
self
.
mot_test_name
=
"motchallenge"
self
.
num_classes
=
1
self
.
mhs
=
False
exps/default/unicorn_track_r50.py
0 → 100644
View file @
f8772570
#!/usr/bin/env python3
# -*- coding:utf-8 -*-
# Copyright (c) 2022 ByteDance. All Rights Reserved.
import
os
from
unicorn.exp
import
ExpTrack
"""
The R50 setting used in the ablation
We load weights pretrained on COCO with input resolution of 800x1280
"""
class
Exp
(
ExpTrack
):
def
__init__
(
self
):
super
(
Exp
,
self
).
__init__
()
self
.
exp_name
=
os
.
path
.
split
(
os
.
path
.
realpath
(
__file__
))[
1
].
split
(
"."
)[
0
]
self
.
backbone_name
=
"resnet50"
self
.
in_channels
=
[
512
,
1024
,
2048
]
self
.
pretrain_name
=
"unicorn_det_r50_800x1280"
exps/default/unicorn_track_r50_mask.py
0 → 100644
View file @
f8772570
#!/usr/bin/env python3
# -*- coding:utf-8 -*-
# Copyright (c) 2022 ByteDance. All Rights Reserved.
import
os
from
unicorn.exp
import
ExpTrackMask
"""
The R50 setting used in the ablation
We load weights pretrained on COCO with input resolution of 800x1280
"""
class
Exp
(
ExpTrackMask
):
def
__init__
(
self
):
super
(
Exp
,
self
).
__init__
()
self
.
exp_name
=
os
.
path
.
split
(
os
.
path
.
realpath
(
__file__
))[
1
].
split
(
"."
)[
0
]
self
.
backbone_name
=
"resnet50"
self
.
in_channels
=
[
512
,
1024
,
2048
]
self
.
pretrain_name
=
"unicorn_track_r50"
exps/default/unicorn_track_tiny.py
0 → 100644
View file @
f8772570
#!/usr/bin/env python3
# -*- coding:utf-8 -*-
# Copyright (c) 2022 ByteDance. All Rights Reserved.
import
os
from
unicorn.exp
import
ExpTrack
"""
The baseline setting used in the ablation
We load weights pretrained on COCO with input resolution of 800x1280
"""
class
Exp
(
ExpTrack
):
def
__init__
(
self
):
super
(
Exp
,
self
).
__init__
()
self
.
exp_name
=
os
.
path
.
split
(
os
.
path
.
realpath
(
__file__
))[
1
].
split
(
"."
)[
0
]
self
.
pretrain_name
=
"unicorn_det_convnext_tiny_800x1280"
exps/default/unicorn_track_tiny_mask.py
0 → 100644
View file @
f8772570
#!/usr/bin/env python3
# -*- coding:utf-8 -*-
# Copyright (c) 2022 ByteDance. All Rights Reserved.
import
os
from
unicorn.exp
import
ExpTrackMask
"""
The baseline setting used in the ablation
We load weights pretrained on COCO with input resolution of 800x1280
"""
class
Exp
(
ExpTrackMask
):
def
__init__
(
self
):
super
(
Exp
,
self
).
__init__
()
self
.
exp_name
=
os
.
path
.
split
(
os
.
path
.
realpath
(
__file__
))[
1
].
split
(
"."
)[
0
]
self
.
pretrain_name
=
"unicorn_track_tiny"
Prev
1
2
3
4
5
6
…
41
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment