Overview#
I have published an inference app using YOLOv8 at the following link:
https://huggingface.co/spaces/nakamura196/yolov8-ndl-layout
Initially, the following error occurred:
This error was resolved by adding device as follows:
Details#
I was using the following library:
https://github.com/fcakyon/ultralyticsplus
When using it as shown below, the error above occurred:
Adding the argument as follows resolved the error:
Supplement#
When using a local model as shown below, the error above did not occur even without device="cpu":
Summary#
I hope this serves as a useful reference.