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 am training my Brevitas model on a radio modulation dataset with input shape (1, 2, 1024) and the raw dataset was converted into uint8 (0-255). The model reached 84% accuracy right after training. But after running the building step, and the driver is moved onto the FPGA, it gives me unusual outputs. I am suspecting the problem has to do with the datatype of my dataset but I do not know how to confirm it. The dataset I trained on the Brevitas model is the same one I transported onto the FPGA for validation. The only difference between them is their shape having an extra axis after reshaping to fit with the driver requirement.
My driver.py:
My custom validate.py script on the FPGA
The output
How I define my model (taken from the radio sandbox from FINN example, with minor modification for my dataset)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am training my Brevitas model on a radio modulation dataset with input shape (1, 2, 1024) and the raw dataset was converted into uint8 (0-255). The model reached 84% accuracy right after training. But after running the building step, and the driver is moved onto the FPGA, it gives me unusual outputs. I am suspecting the problem has to do with the datatype of my dataset but I do not know how to confirm it. The dataset I trained on the Brevitas model is the same one I transported onto the FPGA for validation. The only difference between them is their shape having an extra axis after reshaping to fit with the driver requirement.
My driver.py:
My custom validate.py script on the FPGA
The output
How I define my model (taken from the radio sandbox from FINN example, with minor modification for my dataset)
My build step (I skipped the step_set_fifo_depths):
Beta Was this translation helpful? Give feedback.
All reactions