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

everything_results = model(...) 这一步遇到一些大图片时会卡住,外部接口调用报错,但是内部程序无任何反馈,一直卡住没反应 #244

Open
alexhmyang opened this issue Aug 11, 2024 · 0 comments

Comments

@alexhmyang
Copy link

args = parse_args()
print("model loaded 1 args.device, ", args.device)
# 使用全局变量中的模型实例进行推理
everything_results = model(input_image, device=args.device, retina_masks=args.retina, imgsz=args.imgsz, conf=args.conf, iou=args.iou)
print("model loaded 2 " , everything_results)

everything_results = model(...) 这一步遇到一些大图片时会卡住,外部接口调用报错,但是内部程序无任何反馈,一直卡住没反应

image
内部console

image
外部调用失败

请问怎么解决,我看 hf上可以正常分割,我的服务器gpu是 3090 , 其他图片 都正常,偶尔有一些大图片带边框的 会出现此错误

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

1 participant