Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Support STARK test #440

Merged
merged 6 commits into from
Feb 24, 2022

Conversation

JingweiZhang12
Copy link
Collaborator

No description provided.

img, bbox, self.test_cfg['template_factor'],
self.test_cfg['template_size']
) # z_patch of shape [1,C,H,W]; z_mask of shape [1,H,W]
z_patch = normalize(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggest use mmcv.imnormalize

Copy link
Collaborator

@GT9505 GT9505 Feb 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ignore this comment, just remember that mmcv.imnormalize needs ndarray.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix the lint error, then we can merge this PR.

@codecov
Copy link

codecov bot commented Feb 24, 2022

Codecov Report

Merging #440 (be348bc) into master (91a742e) will increase coverage by 0.37%.
The diff coverage is 90.19%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #440      +/-   ##
==========================================
+ Coverage   71.72%   72.10%   +0.37%     
==========================================
  Files         121      121              
  Lines        6954     7015      +61     
  Branches     1326     1332       +6     
==========================================
+ Hits         4988     5058      +70     
+ Misses       1561     1550      -11     
- Partials      405      407       +2     
Flag Coverage Δ
unittests 72.03% <90.19%> (+0.36%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
mmtrack/apis/inference.py 12.50% <0.00%> (ø)
mmtrack/models/sot/stark.py 88.35% <91.08%> (+7.50%) ⬆️
mmtrack/models/mot/base.py 48.93% <0.00%> (-3.54%) ⬇️
mmtrack/datasets/pipelines/transforms.py 86.92% <0.00%> (-2.76%) ⬇️
mmtrack/models/losses/l2_loss.py 18.03% <0.00%> (-2.61%) ⬇️
mmtrack/models/sot/base.py 50.52% <0.00%> (-2.48%) ⬇️
mmtrack/models/vid/base.py 38.59% <0.00%> (-2.09%) ⬇️
mmtrack/models/sot/siamrpn.py 79.88% <0.00%> (-1.68%) ⬇️
mmtrack/models/mot/tracktor.py 55.38% <0.00%> (-1.34%) ⬇️
mmtrack/datasets/youtube_vis_dataset.py 21.62% <0.00%> (-1.05%) ⬇️
... and 13 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 91a742e...be348bc. Read the comment docs.

@GT9505 GT9505 merged commit 3c45b90 into open-mmlab:master Feb 24, 2022
@JingweiZhang12 JingweiZhang12 deleted the stark_inference branch October 13, 2022 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants