-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Refactor tensorrt_yolo.infer module and remove deprecated t…
…yping types (Tuple, List, Set, Dict)
- Loading branch information
1 parent
e832e53
commit 5bdd4a6
Showing
8 changed files
with
241 additions
and
402 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,4 @@ | ||
from .inference import ( | ||
DeployCGCls, | ||
DeployCGDet, | ||
DeployCGOBB, | ||
DeployCGPose, | ||
DeployCGSeg, | ||
DeployCls, | ||
DeployDet, | ||
DeployOBB, | ||
DeployPose, | ||
DeploySeg, | ||
) | ||
from .result import Box, ClsResult, DetResult, KeyPoint, OBBResult, PoseResult, RotatedBox, SegResult | ||
from .timer import CpuTimer, GpuTimer | ||
from .utils import generate_labels_with_colors, image_batches, visualize | ||
|
||
__all__ = [ | ||
"DeployCGCls", | ||
"DeployCGDet", | ||
"DeployCGOBB", | ||
"DeployCGPose", | ||
"DeployCGSeg", | ||
"DeployCls", | ||
"DeployDet", | ||
"DeployOBB", | ||
"DeployPose", | ||
"DeploySeg", | ||
"Box", | ||
"ClsResult", | ||
"DetResult", | ||
"KeyPoint", | ||
"OBBResult", | ||
"PoseResult", | ||
"RotatedBox", | ||
"SegResult", | ||
"CpuTimer", | ||
"GpuTimer", | ||
"generate_labels_with_colors", | ||
"image_batches", | ||
"visualize", | ||
] | ||
from .inference import * # noqa: F403 | ||
from .result import * # noqa: F403 | ||
from .timer import * # noqa: F403 | ||
from .utils import * # noqa: F403 |
Oops, something went wrong.