Open zjingwang opened 1 year ago
Thanks for bringing this up. This seems like a machine-specific issue that I have sometimes been able to reproduce but sometimes cannot. Basically, what s.ratio
checks here is how much the encoded lambda
function matches the desired polynomial activation but seems like the encoding is machine specific.
If you are following the example, it's safe to just comment out L78-80 of transpiler.py for now.
I'm actively looking for a more universal fix/condition that will not give rise to this issue.
got it, thanks for your time, really appreciate it.
Hello sir, sorry to bother, but i got an error when i run
python main.py keras2circom/test.h5
with test.h5 generated by my mnist.py which is copied from your best_practice.ipynb.Here is the mnist.py file:
and here is the error:
and i printed the value of s.ratio() in transpiler.py:
is this some kind of accuracy problem?