You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to deploy the code on Ultra96-V2.
I started over and built the bitstream and weights from scratch
After finishing building the bitstream and weights, I changed the file name to "SkyNet.bin", "SkyNet.hwh", and "SkyNet.bit", and then ran the script "SkyNet.py" provided by the team.
But I always got the message KeyError: 'power1'
I tried to print out pynq.get_rails() and I only have these followings
Thanks for your interest.
The pynq.get_rails() is just about measuring the board power consumption. If you don't need it, you can actually remove the power related code, eg. line 172, 173, 194, etc.
If you do require the power measurement, maybe it is because of the board version, since we were using ultra96-V1.
modify energy = recorder.frame["power1_power"].mean() * total_time
to energy = recorder.frame["5V_power"].mean() * total_time
modify recorder = pynq.DataRecorder(rails['power1'].power)
to recorder = pynq.DataRecorder(rails['5V'].power)
Hello SkyNet,
I want to deploy the code on Ultra96-V2.
I started over and built the bitstream and weights from scratch
After finishing building the bitstream and weights, I changed the file name to "
SkyNet.bin", "SkyNet.hwh", and "SkyNet.bit"
, and then ran the script"SkyNet.py"
provided by the team.But I always got the message
KeyError: 'power1'
I tried to print out
pynq.get_rails()
and I only have these followingsNo "power1" is in
pynq.get_rails()
.Could you kindly suggest which part I might go wrong so that I could fix it?
Thank you.
The text was updated successfully, but these errors were encountered: