Closed stonehippo closed 5 years ago
Did you try un-plugging / replugging the accelerator and/or rebooting ? I found that right after installation you have to replug the accelerator, otherwise this error occurs.
Just reinstalled with 1.9.2 on a clean pi zero w and the ccanned example (https://coral.withgoogle.com/docs/accelerator/get-started/) worked great.
I'd suggest a clean reinstall I guess.
Yeah, I tried unplug/plug in, since the udev rules change on install.
I'll do clean install of Raspbian and 1.9.2, and also try it one another Pi Zero W.
@mtyka question: how did you connect the accelerator to the Pi Zero W? Directly with a USB-C to micro cable? Or via something like a powered USB hub? I'm wondering if my issue is power, not software.
Ugh, I think this was because I wasn’t using a USG OTG adapter. I’ll give that a try and confirm, but I’m pretty sure that’s it.
Good point about power. I'd recommend going through a powered hub, since Edge TPU can draw up to 2W during 100% utilization. So if pi0 cant supply enough voltage, your accelerator may brown out.
@mtyka (and anyone who comes across this one), I figured it out. I realized that on the Pi Zero in question, I had removed the default Raspbian pi
user, and the user account I was using is only in the sudo
group. When I tried the example code like this it worked:
$ sudo python3 classify_image.py \
--model ~/Downloads/mobilenet_v2_1.0_224_inat_bird_quant_edgetpu. \
--label ~/Downloads/inat_bird_labels.txt \
--image ~/Downloads/parrot.jpg
I checked the udev
rules set up in the install script, and it applies to the plugdev
group. So I needed to add my account to that group:
$ sudo usermod -aG plugdev [my username]
Problem solved.
Did you try un-plugging / replugging the accelerator and/or rebooting ?
This. I tried all the other solutions, but in my case the device started working only after rebooting the system.
hello I have unplugged and replugged. shut down and restarted and nothing works. can anyone suggest any other ideas on why the board is not being recognized. I keep seeing UniCorp Chip instead of Google <>.
I am having the same problem still. Is there any update on this? This is my error:
`
Image list successfully parsed! Category Num = 10
Traceback (most recent call last):
File "imprinting_learning.py", line 245, in
`
I tried running the latest beta release (1.9.2) on a Pi Zero W with the first run demo in the documentation. The following error occurred:
I know this release is not official, but any idea what might be going on and how to resolve it? I’ve run the test scripts on a Pi 3 B+ using the same USB accelerator successfully, so I know I’ve got a working unit.