-
Notifications
You must be signed in to change notification settings - Fork 642
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
start storing version of dalle-pytorch alongside model weights - also…
… throw an error if trying to generate with a dalle-pytorch whose VAE is not the same as the type with which it was trained on
- Loading branch information
1 parent
e1d10b9
commit 1c25f54
Showing
4 changed files
with
51 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
from dalle_pytorch.dalle_pytorch import DALLE, CLIP, DiscreteVAE | ||
from dalle_pytorch.vae import OpenAIDiscreteVAE, VQGanVAE | ||
|
||
from pkg_resources import get_distribution | ||
__version__ = get_distribution('dalle_pytorch').version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters