Open geralt-tian opened 1 month ago
Thanks for opening this issue.
I'm not sure how you got the converted model, so please allow me to provide more detailed guidelines.
Please run 1) cargo bench
, 2) python python/summarize_bench.py
, and 3) bash find_optimal.sh
.
(You can comment line 43-53 in find_optimal.sh
out to speed up this process)
After you find the optimal msgpack, use ./target/release/time_circuit
to get the proving time.
Btw, if you remove the final (and only) softmax in resnet50 (which will not affect the max value of the result), then the best k and num_cols should be 19 and 15.
Hi, we encountered an issue when generating the proof. We have converted the resnet50 model types to TFLite. However, after processing about 10 layers, the program crashed with “NotEnoughRowsAvailable” error. Here are detailed commands we used:
The same issue occurred when we tried to compile mobilenet. As GPT-2 requires only k=23 for rows, we assume k=23 is enough for resnet50 and mobilenet. So what could be wrong?
Thank you for reading the issue. Looking forward to your reply!