update notebook
This commit is contained in:
parent
27642edbe6
commit
9a4a839b3b
7
min_dalle.ipynb
vendored
7
min_dalle.ipynb
vendored
|
@ -130,9 +130,14 @@
|
||||||
"source": [
|
"source": [
|
||||||
"from IPython.display import display, update_display\n",
|
"from IPython.display import display, update_display\n",
|
||||||
"from math import log2\n",
|
"from math import log2\n",
|
||||||
|
"import torch\n",
|
||||||
"from min_dalle import MinDalle\n",
|
"from min_dalle import MinDalle\n",
|
||||||
"\n",
|
"\n",
|
||||||
"model = MinDalle(is_mega=True, is_reusable=True)"
|
"model = MinDalle(\n",
|
||||||
|
" dtype=torch.float32,\n",
|
||||||
|
" is_mega=True, \n",
|
||||||
|
" is_reusable=True\n",
|
||||||
|
")"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -19,7 +19,7 @@ class ReplicatePredictor(BasePredictor):
|
||||||
default=True
|
default=True
|
||||||
),
|
),
|
||||||
grid_size: int = Input(
|
grid_size: int = Input(
|
||||||
description='Size of the image grid. 4x4 takes about 15 seconds, 8x8 takes about 45 seconds',
|
description='Size of the image grid. 4x4 takes about 15 seconds, 8x8 takes about 35 seconds',
|
||||||
ge=1,
|
ge=1,
|
||||||
le=8,
|
le=8,
|
||||||
default=4
|
default=4
|
||||||
|
|
Loading…
Reference in New Issue
Block a user