Coder Social home page Coder Social logo

Comments (7)

BBENG-DADA avatar BBENG-DADA commented on June 3, 2024

图片路径无误,软件中可正常加载并显示

from x-anylabeling.

CVHub520 avatar CVHub520 commented on June 3, 2024

我已确认该问题在issue中未被提出。如题,在anaconda虚拟环境中安装了x-anylabling,操作系统为Windows11,加载的自定义模型使用yolov5s,报错内容如下Error in predict_shapes: OpenCV(4.9.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\resize.cpp:4155: error: (-215:Assertion failed) inv_scale_x > 0 in function 'cv::resize'

您好,这边可以尝试使用常规图片测试下,如assets,排除下是图片本身的问题。

from x-anylabeling.

BBENG-DADA avatar BBENG-DADA commented on June 3, 2024

我已确认该问题在issue中未被提出。如题,在anaconda虚拟环境中安装了x-anylabling,操作系统为Windows11,加载的自定义模型使用yolov5s,报错内容如下Error in predict_shapes: OpenCV(4.9.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\resize.cpp:4155: error: (-215:Assertion failed) inv_scale_x > 0 in function 'cv::resize'

您好,这边可以尝试使用常规图片测试下,如assets,排除下是图片本身的问题。

已经尝试过了,报错问题依旧存在

from x-anylabeling.

BBENG-DADA avatar BBENG-DADA commented on June 3, 2024

这个是自定义模型的yaml文件type: yolov5
name: yolov5s-r20230520
display_name: EDS
model_path: yolov5s.onnx
nms_threshold: 0.45
confidence_threshold: 0.25
classes:

  • 1
  • 2
  • 3
  • 4

我已确认该问题在issue中未被提出。如题,在anaconda虚拟环境中安装了x-anylabling,操作系统为Windows11,加载的自定义模型使用yolov5s,报错内容如下Error in predict_shapes: OpenCV(4.9.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\resize.cpp:4155: error: (-215:Assertion failed) inv_scale_x > 0 in function 'cv::resize'

您好,这边可以尝试使用常规图片测试下,如assets,排除下是图片本身的问题。

from x-anylabeling.

CVHub520 avatar CVHub520 commented on June 3, 2024

这个是自定义模型的yaml文件type: yolov5 name: yolov5s-r20230520 display_name: EDS model_path: yolov5s.onnx nms_threshold: 0.45 confidence_threshold: 0.25 classes:

  • 1
  • 2
  • 3
  • 4

我已确认该问题在issue中未被提出。如题,在anaconda虚拟环境中安装了x-anylabling,操作系统为Windows11,加载的自定义模型使用yolov5s,报错内容如下Error in predict_shapes: OpenCV(4.9.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\resize.cpp:4155: error: (-215:Assertion failed) inv_scale_x > 0 in function 'cv::resize'

您好,这边可以尝试使用常规图片测试下,如assets,排除下是图片本身的问题。

内置模型能正常推理吗?

from x-anylabeling.

BBENG-DADA avatar BBENG-DADA commented on June 3, 2024

这个是自定义模型的yaml文件type: yolov5 name: yolov5s-r20230520 display_name: EDS model_path: yolov5s.onnx nms_threshold: 0.45 confidence_threshold: 0.25 classes:

  • 1
  • 2
  • 3
  • 4

我已确认该问题在issue中未被提出。如题,在anaconda虚拟环境中安装了x-anylabling,操作系统为Windows11,加载的自定义模型使用yolov5s,报错内容如下Error in predict_shapes: OpenCV(4.9.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\resize.cpp:4155: error: (-215:Assertion failed) inv_scale_x > 0 in function 'cv::resize'

您好,这边可以尝试使用常规图片测试下,如assets,排除下是图片本身的问题。

内置模型能正常推理吗?

内置的可以正常标注,自定义模型也可以正常推理

from x-anylabeling.

CVHub520 avatar CVHub520 commented on June 3, 2024

这个是自定义模型的yaml文件type: yolov5 name: yolov5s-r20230520 display_name: EDS model_path: yolov5s.onnx nms_threshold: 0.45 confidence_threshold: 0.25 classes:

  • 1
  • 2
  • 3
  • 4

我已确认该问题在issue中未被提出。如题,在anaconda虚拟环境中安装了x-anylabling,操作系统为Windows11,加载的自定义模型使用yolov5s,报错内容如下Error in predict_shapes: OpenCV(4.9.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\resize.cpp:4155: error: (-215:Assertion failed) inv_scale_x > 0 in function 'cv::resize'

您好,这边可以尝试使用常规图片测试下,如assets,排除下是图片本身的问题。

内置模型能正常推理吗?

内置的可以正常标注,自定义模型也可以正常推理

您好,非常抱歉刚看到你的回复,纯数字类别在定义时需要加入单引号避免转义:

type: yolov5
...

classes:
  - '0'
  - '1'
  - '2'
  - '3'

from x-anylabeling.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.