improve requirements and import handling #502
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
env
command usage:Print related package versions in the current env as:
>> sahi env 06/19/2022 21:24:52 - INFO - sahi.utils.import_utils - torch version 1.11.0 is available. 06/19/2022 21:24:52 - INFO - sahi.utils.import_utils - torchvision version 0.12.0 is available. 06/19/2022 21:24:52 - INFO - sahi.utils.import_utils - yolov5 version 6.1.3 is available. 06/19/2022 21:24:52 - INFO - sahi.utils.import_utils - mmdet version 2.25.0 is available. 06/19/2022 21:24:52 - INFO - sahi.utils.import_utils - mmcv version 1.5.3 is available. 06/19/2022 21:24:52 - INFO - sahi.utils.import_utils - detectron2 version 0.6+cpu is available. 06/19/2022 21:24:52 - INFO - sahi.utils.import_utils - transformers version 4.20.0 is available. 06/19/2022 21:24:52 - INFO - sahi.utils.import_utils - timm version 0.4.12 is available. 06/19/2022 21:24:52 - INFO - sahi.utils.import_utils - layer version 0.10.2510447650 is available. 06/19/2022 21:24:52 - INFO - sahi.utils.import_utils - fiftyone version 0.14.2 is available. 06/19/2022 21:24:52 - INFO - sahi.utils.import_utils - norfair version 1.0.0 is available.
version
command usage:Print your SAHI verison as:
>> sahi version 0.10.0
get_package_info
function usage: