forked from pedroHuang123/mmdeploy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Refactor] Add 'to_backend' in BackendManager (open-mmlab#1522)
* Refactor to backend * export_postprocess_mask = False as defailt * update zh_cn docs * solve comment * fix comment
- Loading branch information
Showing
28 changed files
with
712 additions
and
500 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
# Copyright (c) OpenMMLab. All rights reserved. | ||
from .calibration import create_calib_input_data | ||
from .utils import build_task_processor, get_predefined_partition_cfg | ||
from .utils import (build_task_processor, get_predefined_partition_cfg, | ||
to_backend) | ||
|
||
__all__ = [ | ||
'create_calib_input_data', 'build_task_processor', | ||
'get_predefined_partition_cfg' | ||
'get_predefined_partition_cfg', 'to_backend' | ||
] |
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,10 +1,12 @@ | ||
# Copyright (c) OpenMMLab. All rights reserved. | ||
from .backend_manager import BACKEND_MANAGERS, BaseBackendManager | ||
from .backend_manager import (BACKEND_MANAGERS, BaseBackendManager, | ||
get_backend_manager) | ||
from .backend_wrapper_registry import (BACKEND_WRAPPER, get_backend_file_count, | ||
get_backend_wrapper_class) | ||
from .base_wrapper import BaseWrapper | ||
|
||
__all__ = [ | ||
'BACKEND_MANAGERS', 'BaseBackendManager', 'BaseWrapper', 'BACKEND_WRAPPER', | ||
'get_backend_wrapper_class', 'get_backend_file_count' | ||
'BACKEND_MANAGERS', 'BaseBackendManager', 'get_backend_manager', | ||
'BaseWrapper', 'BACKEND_WRAPPER', 'get_backend_wrapper_class', | ||
'get_backend_file_count' | ||
] |
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
Oops, something went wrong.