Closed hpoonian closed 3 years ago
can you confirm you're connected to the right serial port? (maybe check the port names in the device manager)
There's only one serial port for me to select. COM 1 is the only port showing under device manager whether I have the pi connected or not.
if it shows up when the pi is not connected then it is not the pi's serial port. Did u use the same pi & cable & PC when u did lab 1?
Yes, I had the same error messages from this pc in lab 1. I connected the pi to different ports until I got one showing up as working but now I'm getting some error messages that don't really seem consistent.
The first error I got is this buffer dtype error when I wasn't in the 32 bit conda setup I had.
After I switched to ml_course_32 I got this error.
When I try running it again now I get the buffer dtype error happening and it switches randomly between the two error messages.
Sounds like the buffer dtype is still the issue here, please confirm that you trained the model using a 32-bit architecture.
You can try something like this in your script or NB where you save the trained model
import platform; print(platform.architecture())
We fiexed the issue. For some reason visual studio code wasn't outputting the model as 32 bit from a 32 bit environment but running it through cmd did.
Hi, we're getting the error occurred with lab selection message even though we have the auto run setup for the script. We manually ran the script in the pi as well but we still get the same error. There are also two other error messages we get at the same time: Processing has failed or was interrupted, and Resetting the serial state of RPi Failed, please try again or power cycle the RPi if the problem persists.