Open GGGGGGGG5566 opened 4 years ago
Hi,
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.
Thanks, Cong
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.