Open sAz-G opened 11 months ago
Hi,
sorry that I just saw this. It seems that you're generating c code for multi-drone deepset model. If so, I recommend using code provided here. Additionally, if your project involves multi-drone obstacle avoidance, you might consider trying our single head attention model. It has been tested and proven effective with crazyflies
How to run the NN model to control crazyflie? Are there any guides?
I let sim2real.py create the c code for network evaluation, however I am a bit confused about the calculation.
When I run the python script, the following c code is produced (I deleted the weights to keep this issue shorter)
The following for loop tries to access an element that exceeds the array size (output_3 has dimension 16 but structure[4][0] is 24).
Also, shouldn't there be an array with size 24 to store the input of the self encoder and neighbor encoder stacked together? (assuming the self encoder has 16 neurons and the neighbor encoder 8 neurons).
I am wondering if these are problems with my networks structure or rather a problem with the script sim2real.py .