Update app.py
Browse files
app.py
CHANGED
|
@@ -30,7 +30,7 @@ class CNN(nn.Module):
|
|
| 30 |
return x
|
| 31 |
|
| 32 |
cnn = CNN()
|
| 33 |
-
params = cnn.init(jax.random.PRNGKey(0), jnp.ones([
|
| 34 |
|
| 35 |
fs = HfFileSystem(token=hf_key)
|
| 36 |
with fs.open("PrakhAI/CatVsDog/checkpoint.msgpack", "rb") as f:
|
|
|
|
| 30 |
return x
|
| 31 |
|
| 32 |
cnn = CNN()
|
| 33 |
+
params = cnn.init(jax.random.PRNGKey(0), jnp.ones([2, 50, 50, 3]))['params']
|
| 34 |
|
| 35 |
fs = HfFileSystem(token=hf_key)
|
| 36 |
with fs.open("PrakhAI/CatVsDog/checkpoint.msgpack", "rb") as f:
|