File tree 3 files changed +2
-3
lines changed
3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ dalle2 = DALLE2(
199
199
decoder = decoder
200
200
)
201
201
202
- # send the text as a string if you want to use the simple tokenizer from DALL-E1
202
+ # send the text as a string if you want to use the simple tokenizer from DALLE v1
203
203
# or you can do it as token ids, if you have your own tokenizer
204
204
205
205
texts = [' glistening morning dew on a flower petal' ]
Original file line number Diff line number Diff line change @@ -877,7 +877,6 @@ def forward(
877
877
text = [text ] if not isinstance (text , (list , tuple )) else text
878
878
text = tokenizer .tokenize (text ).to (device )
879
879
880
- print (text .shape , type (text ))
881
880
image_embed = self .prior .sample (text , num_samples_per_batch = self .prior_num_samples )
882
881
images = self .decoder .sample (image_embed )
883
882
return images
Original file line number Diff line number Diff line change 10
10
'dream = dalle2_pytorch.cli:dream'
11
11
],
12
12
},
13
- version = '0.0.5 ' ,
13
+ version = '0.0.6 ' ,
14
14
license = 'MIT' ,
15
15
description = 'DALL-E 2' ,
16
16
author = 'Phil Wang' ,
You can’t perform that action at this time.
0 commit comments