Releases: breezedeus/CnSTD
Releases · breezedeus/CnSTD
Fix: some formats of models require fixed-size input images
Update 2024.06.22:发布 V1.2.4.2
Major Changes:
- Added a new parameter
static_resized_shape
when initializingYoloDetector
, which is used to resize the input image to a fixed size. Some formats of models require fixed-size input images during inference, such asCoreML
.
主要变更:
YoloDetector
初始化时加入了参数static_resized_shape
, 用于把输入图片 resize 为固定大小。某些格式的模型在推理时需要固定大小的输入图片,如CoreML
。
fix: a bug in the detect method of YoloDetector
Update 2024.06.17:发布 V1.2.4.1
Major Changes:
- Fixed a bug in the
detect
method ofYoloDetector
: when the input is a single file, the output is not a double-layer nested list.
主要变更:
- 修复了
YoloDetector
中detect
方法的一个bug:输入为单个文件时,输出不是双层嵌套的 list。
Support for YOLO Detector based on Ultralytics.
Update 2024.06.16:发布 V1.2.4
Major Changes:
- Support for YOLO Detector based on Ultralytics.
主要变更:
- 支持基于 Ultralytics 的 YOLO Detector。
V1.2.3.6: 修改默认的模型下载方式
Update 2024.04.10:发布 V1.2.3.6
主要变更:
- CN OSS 不可用了,默认下载模型地址由
CN
改为HF
。
use environment variable to determine the download source for models
Main Changes:
-
Added support for the
CNSTD_DOWNLOAD_SOURCE
environment variable to determine the download source for models. The default source is the Aliyun OSS address. -
In
LayoutAnalyzer
, introduced two new parameters,model_categories
andmodel_arch_yaml
, to specify the list of model categories and model architectures.
adapt with the new version of ORT
- adapt with the new version of ORT
- remove direct dependency of
onnxruntime
fromsetup.py
support env variable 'HF_TOKEN' to download files from private repos
fix device value
Merge pull request #61 from breezedeus/pytorch fix device value
fix: clip the results
Merge pull request #60 from breezedeus/pytorch fix: clip the results
use hf_hub_download to download model files from huggingface
Merge pull request #59 from breezedeus/pytorch use hf_hub_download to download model files from huggingface