dalle-mini
dalle-mini copied to clipboard
Variadic image sizes
is it possible to use Dall-E mini to produce variable size images?
The model currently only makes 256x256, then you would need another model to make it larger (super resolution models)
You can make them bigger with an simple scale (not AI):
for decoded_img in decoded_images:
img = Image.fromarray(np.asarray(decoded_img * 255, dtype=np.uint8))
img = img.resize((512,512)) # <-- HERE
images.append(img)
display(img)
print()