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

when running locally on macOS: Exception: Failed to get bounding box, please check if the 'docker_torchserve' is running and healthy, resp: <Response [400]> #306

Open
ShoneMenge opened this issue Jan 1, 2025 · 2 comments

Comments

@ShoneMenge
Copy link

Sensei:
Is this problem due to insufficient memory? Currently, there are not enough memory resources to determine;
examples % python image_to_animation.py drawings/garlic.png garlic_out
Traceback (most recent call last):
File "image_to_animation.py", line 41, in
image_to_animation(img_fn, char_anno_dir, motion_cfg_fn, retarget_cfg_fn)
File "image_to_animation.py", line 19, in image_to_animation
image_to_annotations(img_fn, char_anno_dir)
File "/Users/temp/animated-drawings/AnimatedDrawings-main/examples/image_to_annotations.py", line 53, in image_to_annotations
raise Exception(f"Failed to get bounding box, please check if the 'docker_torchserve' is running and healthy, resp: {resp}")
Exception: Failed to get bounding box, please check if the 'docker_torchserve' is running and healthy, resp: <Response [400]>

another question,when execute ping, why need token?
curl http://localhost:8080/ping
{
"code": 400,
"type": "InvalidKeyException",
"message": "Token Authorization failed. Token either incorrect, expired, or not provided correctly"
}

some logs:
2025-01-01T22:16:15,899 [INFO ] pool-3-thread-1 TS_METRICS - CPUUtilization.Percent:0.0|#Level:Host|#hostname:mac-mini.local,timestamp:1735740975
2025-01-01T22:16:15,899 [INFO ] pool-3-thread-1 TS_METRICS - DiskAvailable.Gigabytes:117.29309844970703|#Level:Host|#hostname:mac-mini.local,timestamp:1735740975
2025-01-01T22:16:15,899 [INFO ] pool-3-thread-1 TS_METRICS - DiskUsage.Gigabytes:14.359699249267578|#Level:Host|#hostname:mac-mini.local,timestamp:1735740975
2025-01-01T22:16:15,899 [INFO ] pool-3-thread-1 TS_METRICS - DiskUtilization.Percent:10.9|#Level:Host|#hostname:mac-mini.local,timestamp:1735740975
2025-01-01T22:16:15,900 [INFO ] pool-3-thread-1 TS_METRICS - MemoryAvailable.Megabytes:6252.82421875|#Level:Host|#hostname:mac-mini.local,timestamp:1735740975
2025-01-01T22:16:15,900 [INFO ] pool-3-thread-1 TS_METRICS - MemoryUsed.Megabytes:8909.3203125|#Level:Host|#hostname:mac-mini.local,timestamp:1735740975
2025-01-01T22:16:15,900 [INFO ] pool-3-thread-1 TS_METRICS - MemoryUtilization.Percent:61.8|#Level:Host|#hostname:mac-mini.local,timestamp:1735740975

thanks

@Malthehave
Copy link

I have the same issue on macOS. Did you figure out a solution yet?

@summer-to-do
Copy link

same issue on macOS;
And FileNotFoundError: [Errno 2] No such file or directory: 'nvidia-smi' #290 is reported when I try to start the serve by torchserve --start --ts-config config.local.properties --foreground

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

3 participants