Xilinx / QNN-MO-PYNQ

BSD 3-Clause "New" or "Revised" License
236 stars 114 forks source link

What's the format of json file of the network structure definition? #23

Closed qcd-horizon closed 5 years ago

qcd-horizon commented 5 years ago

In the "QNN-MO-PYNQ/qnn/src/network/sw/main.cpp" line 66 to 68: extern "C" { void initParameters(unsigned int const batch, unsigned int const threads); void initAccelerator(char const *networkJson, char const *layerJson); The json file of network need to be assigned. But is the format of this json file the same with general deeplearning framework like theano?

giuliogamba commented 5 years ago

Hi, the json format used in the runtime to load the neural network structure has been developed ad-hoc for this. You can see examples of the 2 networks here and here. Hope this helps