mirror of
https://github.com/lucidrains/DALLE2-pytorch.git
synced 2025-12-23 19:44:20 +01:00
readme tweak
This commit is contained in:
@@ -142,6 +142,8 @@ Finally, the main contribution of the paper. The repository offers the diffusion
|
|||||||
import torch
|
import torch
|
||||||
from dalle2_pytorch import DiffusionPriorNetwork, DiffusionPrior, CLIP
|
from dalle2_pytorch import DiffusionPriorNetwork, DiffusionPrior, CLIP
|
||||||
|
|
||||||
|
# get trained CLIP from step one
|
||||||
|
|
||||||
clip = CLIP(
|
clip = CLIP(
|
||||||
dim_text = 512,
|
dim_text = 512,
|
||||||
dim_image = 512,
|
dim_image = 512,
|
||||||
|
|||||||
Reference in New Issue
Block a user