PrakhAI commited on
Commit
52b6792
·
1 Parent(s): 230339a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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"))