Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

预测使用的图片无法进行推理 #188

Open
renjd opened this issue Aug 28, 2024 · 4 comments
Open

预测使用的图片无法进行推理 #188

renjd opened this issue Aug 28, 2024 · 4 comments

Comments

@renjd
Copy link

renjd commented Aug 28, 2024

在训练好模型以后,选取了一张图片,路径什么的都没问题,但是运行预测脚本后没有反应,也有一些图片可以正常进行预测。图一、二为异常情况和异常的图片,图三为正常情况时的日志打印。期待您的回复!
1724817969333
test
image

@WenmuZhou
Copy link
Owner

可以debug看看,可能是图片格式不支持

@renjd
Copy link
Author

renjd commented Aug 28, 2024

感谢回复,都是jpg格式的图片。最后发现是linux系统对文件格式大小写敏感,这部分无法运行的图片后缀是.JPG,需要修改预测代码
line 142
1724826511467

@renjd renjd closed this as completed Aug 28, 2024
@renjd renjd reopened this Aug 28, 2024
@renjd
Copy link
Author

renjd commented Aug 28, 2024

不好意思再打扰您一下,我想知道这个box能否再扩大一些?可以通过参数设置吗?
8ec37a6ffb175242068e7da70db5936

@WenmuZhou
Copy link
Owner

det_db_unclip_ratio 改大一点,默认是1.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants