PrakhAI commited on
Commit
7b426f6
·
1 Parent(s): b44128b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -67,4 +67,4 @@ else:
67
  with st.expander("See first convolutional layer"):
68
  grid = np.array(params["Conv_0"]["kernel"].reshape((3, 3, 4, 8)).transpose(2,0,3,1).reshape(12, 24)+1)*127.
69
  rgb = np.repeat(np.expand_dims(grid, axis=0), repeats=3, axis=0).astype(np.uint8).transpose(1,2,0)
70
- st.image(Image.fromarray(rgb, mode="RGB").resize((24*4, 24*8)))
 
67
  with st.expander("See first convolutional layer"):
68
  grid = np.array(params["Conv_0"]["kernel"].reshape((3, 3, 4, 8)).transpose(2,0,3,1).reshape(12, 24)+1)*127.
69
  rgb = np.repeat(np.expand_dims(grid, axis=0), repeats=3, axis=0).astype(np.uint8).transpose(1,2,0)
70
+ st.image(Image.fromarray(rgb, mode="RGB"))