Closed diagonali closed 1 year ago
Repull your image and try it now..
Ok I deleted my existing images and re-pulled latest image and I'm still getting the following error:
2022-10-22 09:15:16,008 - doods.doods - ERROR - Could not create detector pytorch/pytorch: Unknown detector type pytorch.
If you are running this on a 32 bit raspberry pi (arm7f) it does not support pytorch. Depending on which one you are running you can upgrade the software to 64 bit but it's a little underpowered to run pytorch. It's probably not going to be very useful.
I'm running on a Raspberry Pi 4 4gb running the 64 bit version of the Raspberry Pi OS. I'm now wondering if there's something about the config of Docker that's causing this error to occur. Are there any particular Docker configuration requirements? Is this a 64 bit specific error? Anything else I can try?
Thanks
On Sat, 22 Oct 2022, 14:13 Zach, @.***> wrote:
If you are running this on a 32 bit raspberry pi (arm7f) it does not support pytorch. Depending on which one you are running you can upgrade the software to 64 bit but it's a little underpowered to run pytorch. It's probably not going to be very useful.
— Reply to this email directly, view it on GitHub https://github.com/snowzach/doods2/issues/63#issuecomment-1287788066, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXORAFE7PI3CMCTE6VDMALWEPR77ANCNFSM6AAAAAARLEJJDM . You are receiving this because you authored the thread.Message ID: @.***>
Can you attach the entire log?
> Can you attach the entire log?
Can't see how to attach files here directly but I've copied the entire log below:
` 2022-10-22 10:39:27,648 - doods.doods - INFO - Registered detector type:tflite name:default
2022-10-22 10:39:33,921 - doods.doods - INFO - Registered detector type:tensorflow name:tensorflow
2022-10-22 10:39:33,922 - doods.doods - ERROR - Could not create detector pytorch/pytorch: Unknown detector type pytorch.
2022-10-22 10:39:34,050 - uvicorn.error - INFO - Started server process [1]
2022-10-22 10:39:34,051 - uvicorn.error - INFO - Waiting for application startup.
2022-10-22 10:39:34,052 - uvicorn.error - INFO - Application startup complete.
2022-10-22 10:39:34,053 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8087 (Press CTRL+C to quit) `
If I've missed anything or this isn't the full logfile I'd be happy to follow up with correct one.
Thanks
Sorry... I forgot that pytorch is not included on the 64 bit arm images either. It was just too slow to be practical if I recall.
Sorry... I forgot that pytorch is not included on the 64 bit arm images either. It was just too slow to be practical if I recall. Ah ok that's a shame but makes sense. Thanks for getting back to me.
The documentation says that yolov5s is "A fast and accurate detector" and I can see that the files are included in the container but for some reason the default config doesn't include an entry for this detector.
Is there a reason it isn't included by default in the config but is included in the filesystem?
How can I add this detector in the config file?
Many thanks