update readme
This commit is contained in:
parent
985c5fad4c
commit
1b45a5de2a
1
README.md
vendored
1
README.md
vendored
|
@ -75,6 +75,7 @@ images = images.to('cpu').detach().numpy()
|
||||||
Then image $i$ can be coverted to a PIL.Image and saved with its `save` method
|
Then image $i$ can be coverted to a PIL.Image and saved with its `save` method
|
||||||
```python
|
```python
|
||||||
image = Image.fromarray(images[i])
|
image = Image.fromarray(images[i])
|
||||||
|
image.save('image_{}.png'.format(i))
|
||||||
```
|
```
|
||||||
|
|
||||||
### Interactive
|
### Interactive
|
||||||
|
|
Loading…
Reference in New Issue
Block a user