Compare commits

..

1 Commits

Author SHA1 Message Date
Jseam
bb482e3cac fix: set max_logrows for calibrate_settings (#688) 2024-01-16 17:40:45 +00:00

View File

@@ -441,7 +441,9 @@
"# Serialize calibration data into file:\n",
"json.dump(data, open(cal_data_path, 'w'))\n",
"\n",
"res = ezkl.calibrate_settings(cal_data_path, model_path, settings_path, \"resources\") # Optimize for resources"
"# Optimize for resources, we cap logrows at 17 to reduce setup and proving time, at the expense of accuracy\n",
"# You may want to increase the max logrows if accuracy is a concern\n",
"res = ezkl.calibrate_settings(cal_data_path, model_path, settings_path, \"resources\", max_logrows = 17)"
]
},
{