Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -136,8 +136,8 @@ prediction = np.argmax(prediction, axis=1)
|
|
136 |
st.write(prediction)
|
137 |
st.write(targets)
|
138 |
|
139 |
-
st.write("after argmax axis
|
140 |
-
targets = np.argmax(targets, axis=
|
141 |
-
prediction = np.argmax(prediction, axis=
|
142 |
st.write(prediction)
|
143 |
st.write(targets)
|
|
|
136 |
st.write(prediction)
|
137 |
st.write(targets)
|
138 |
|
139 |
+
st.write("after argmax axis 2")
|
140 |
+
targets = np.argmax(targets, axis=2)
|
141 |
+
prediction = np.argmax(prediction, axis=2)
|
142 |
st.write(prediction)
|
143 |
st.write(targets)
|