Input for circom circuit
shubham-kanodia opened this issue · 0 comments
shubham-kanodia commented
I was trying to learn the integration of ZKP and ML and this repo was really helpful.
In the zk/circuit.circom
file, I see this commented input for image
/* INPUT = {
"image": [34, 7, 3, 56, 34, 2, 11, 34, 7, 3, 56, 34, 2, 11, 34, 7, 3, 56, 34, 2, 11, 34, 7, 3, 56, 34, 2, 11, 34, 7, 3, 56, 34, 2, 11, 34, 7, 3, 56, 34, 2, 11, 34, 7, 3, 56, 34, 2, 11, 34,
0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,
0,0,0,0 ]
} */
Seems like this input is incompatible with the circuit. Although, I see that the correct input might be here - zk/input.json
, but can you explain the reason why it is 16x84? Are we doing a batch wise operation here?
Also, there are some unused signals in the circuit - A2
and Bb