mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-06-24 02:14:17 +00:00
hotfix: 100% accuracy is wrong
This commit is contained in:
parent
8bcf533a84
commit
b683d0f496
1 changed files with 1 additions and 1 deletions
|
|
@ -49,5 +49,5 @@ if __name__ == "__main__":
|
|||
|
||||
# verify eval acc
|
||||
if target := getenv("TARGET_EVAL_ACC_PCT", 0.0):
|
||||
if test_acc >= target: print(colored(f"{test_acc=} >= {target}", "green"))
|
||||
if test_acc >= target and test_acc != 100.0: print(colored(f"{test_acc=} >= {target}", "green"))
|
||||
else: raise ValueError(colored(f"{test_acc=} < {target}", "red"))
|
||||
Loading…
Add table
Add a link
Reference in a new issue