Unverified Commit f539497a authored by bimsarapathiraja's avatar bimsarapathiraja Committed by GitHub
Browse files

Remove the line. Using it create wrong output (#7075)


Co-authored-by: default avatarSayak Paul <spsayakpaul@gmail.com>
parent 39dfb7ab
......@@ -273,7 +273,6 @@ Lastly, convert the image to a `PIL.Image` to see your generated image!
```py
>>> image = (image / 2 + 0.5).clamp(0, 1).squeeze()
>>> image = (image.permute(1, 2, 0) * 255).to(torch.uint8).cpu().numpy()
>>> image = (image * 255).round().astype("uint8")
>>> image = Image.fromarray(image)
>>> image
```
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment