I’m trying to deploy a fine-tuned model (yard-wildlife/1) from my account to a Raspberry Pi (5). Following the instructions found here, I’ve installed inference, as well as exported my API key.
However, just running the small Python script ..
import inference
model = inference.get_model("yard-wildlife/1")
.. yields an “API not authorized .. unauthorized access” error (even after revoking/regenerating a key)
(Note: inference.load_roboflow_model(), as shown in the link, doesn’t work .. this gives an ‘no attribute’ error .. so I just used get_model() as noted in some other related posts).
Any guidance on to how to get my model deployed for inferencing on the Pi would be appreciated.
Thanks,
Larry