Skip to content
Snippets Groups Projects
Unverified Commit 621ecd29 authored by Kai Chen's avatar Kai Chen Committed by GitHub
Browse files

Fix the return value of `ga_shape_target_single` (#1853)

* fix the return value of ga_shape_target_single

* fix the code format
parent 7ef08d32
No related branches found
No related tags found
No related merge requests found
......@@ -250,7 +250,7 @@ def ga_shape_target_single(flat_approxs,
tuple
"""
if not inside_flags.any():
return (None, ) * 6
return (None, ) * 5
# assign gt and sample anchors
expand_inside_flags = inside_flags[:, None].expand(
-1, approxs_per_octave).reshape(-1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment