Merge pull request #49 from raphant/patch-1
Update README.md to include all required third-party dependencies
This commit is contained in:
commit
a91a259293
4
README.md
vendored
4
README.md
vendored
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
[![Join us on Discord](https://img.shields.io/discord/823813159592001537?color=5865F2&logo=discord&logoColor=white)](https://discord.gg/xBPBXfcFHd)
|
[![Join us on Discord](https://img.shields.io/discord/823813159592001537?color=5865F2&logo=discord&logoColor=white)](https://discord.gg/xBPBXfcFHd)
|
||||||
|
|
||||||
This is a minimal implementation of Boris Dayma's [DALL·E Mini](https://github.com/borisdayma/dalle-mini) in PyTorch. It has been stripped to the bare essentials necessary for doing inference. The only third party dependencies are numpy and torch.
|
This is a minimal implementation of Boris Dayma's [DALL·E Mini](https://github.com/borisdayma/dalle-mini) in PyTorch. It has been stripped to the bare essentials necessary for doing inference. The only third party dependencies are numpy, requests, pillow and torch.
|
||||||
|
|
||||||
It currently take **35 seconds** to generate a 3x3 grid with DALL·E Mega on a standard GPU runtime in Colab.
|
It currently take **35 seconds** to generate a 3x3 grid with DALL·E Mega on a standard GPU runtime in Colab.
|
||||||
|
|
||||||
|
@ -59,4 +59,4 @@ $ python image_from_text.py --text='artificial intelligence' --seed=7
|
||||||
```bash
|
```bash
|
||||||
$ python image_from_text.py --text='trail cam footage of gollum eating watermelon' --mega --seed=1 --grid-size=3
|
$ python image_from_text.py --text='trail cam footage of gollum eating watermelon' --mega --seed=1 --grid-size=3
|
||||||
```
|
```
|
||||||
![Gollum Trailcam](https://github.com/kuprel/min-dalle/raw/main/examples/gollum_trailcam.png)
|
![Gollum Trailcam](https://github.com/kuprel/min-dalle/raw/main/examples/gollum_trailcam.png)
|
||||||
|
|
3
requirements.txt
vendored
3
requirements.txt
vendored
|
@ -1 +1,4 @@
|
||||||
min-dalle
|
min-dalle
|
||||||
|
numpy==1.23.0
|
||||||
|
pillow==9.2.0
|
||||||
|
requests==2.28.1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user