GreenWaves-Technologies / gap_sdk

SDK for Greenwaves Technologies' GAP8 IoT Application Processor
https://greenwaves-technologies.com/en/gap8-the-internet-of-things-iot-application-processor/
Apache License 2.0
138 stars 75 forks source link

TypeError: execute_on_target() got an unexpected keyword argument 'write_out_to_file' #396

Open gwgknudayanga opened 1 year ago

gwgknudayanga commented 1 year ago

HI,

When executing the jupyter notebook for coco object detection, at the final step which execute the model on target gvsoc, it gives the following error. I have chcked out the latest master branch of gap_sdk and i am using this notebook for GAP 8 processor. Expect your help ! Thank you.


TypeError Traceback (most recent call last) Cell In[14], line 1 ----> 1 res = G.execute_on_target( 2 pmsis_os='freertos', 3 platform="gvsoc", 4 directory="test_run", 5 input_tensors=[input_data], 6 output_tensors=0, 7 source='gapuino_v3', 8 write_out_to_file=True, 9 at_log=True, 10 dont_run=False, 11 settings={ 12 'l1_size': 46688, 13 'l2_size': 300000, 14 'tensor_directory': './tensors' 15 }, 16 #cmake=True, 17 at_loglevel=1, 18 print_output=True 19 ) 20 for l in res.at_log[-29:-1]: 21 print(l)

TypeError: execute_on_target() got an unexpected keyword argument 'write_out_to_file'