Replies: 1 comment
-
|
@fpjentzsch When I change nok += ret[0] and ok += ret[1] to nok += ret[0] and ok += ret[0] -> Final top-1 accuracy: 50.0% Why this happened? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @maltanar , as I already build mobilenet-v1 model for U200. What mean of ret[0/1] and why there is index error?
Index errbatch 1 : total OK 8 NOK 992
IndexError Traceback (most recent call last)
in
14 ret = np.bincount(obuf_normal.flatten() == exp.flatten())
15 nok += ret[0]
---> 16 ok += ret[1]
17 i += 1
18 print("batch %d : total OK %d NOK %d" % (i, ok, nok))
IndexError: index 1 is out of bounds for axis 0 with size 1or:
Beta Was this translation helpful? Give feedback.
All reactions