You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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"
}
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
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
The text was updated successfully, but these errors were encountered: