Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -65,4 +65,4 @@ else:
|
|
| 65 |
st.write(cnn.apply({"params": params}, input).argmax(axis=1)[0])
|
| 66 |
|
| 67 |
with st.expander("See first convolutional layer"):
|
| 68 |
-
st.image(Image.fromarray((np.array(params["Conv_0"]["kernel"].squeeze()[:,:,0])+1)*127.))
|
|
|
|
| 65 |
st.write(cnn.apply({"params": params}, input).argmax(axis=1)[0])
|
| 66 |
|
| 67 |
with st.expander("See first convolutional layer"):
|
| 68 |
+
st.image(Image.fromarray((np.array(params["Conv_0"]["kernel"].squeeze()[:,:,0])+1)*127., mode="I"))
|