This file contains hidden or 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
{ | |
"seed": 1, | |
"decoder": { | |
"unets": [ | |
{ | |
"dim": 416, | |
"cond_dim": 512, | |
"image_embed_dim": 768, | |
"text_embed_dim": 768, |
This file contains hidden or 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
{ | |
"seed": 1, | |
"decoder": { | |
"unets": [ | |
{ | |
"dim": 416, | |
"cond_dim": 512, | |
"image_embed_dim": 768, | |
"text_embed_dim": 768, |
This file contains hidden or 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
import os | |
import numpy as np | |
import json | |
import click | |
from clip import tokenize | |
from dalle2_pytorch.trainer import DiffusionPriorTrainer | |
from dalle2_pytorch import DiffusionPrior, DiffusionPriorNetwork, OpenAIClipAdapter | |
def get_prior(path, device): |
This file contains hidden or 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
{ | |
"seed": 1, | |
"decoder": { | |
"unets": [ | |
{ | |
"dim": 416, | |
"cond_dim": 512, | |
"image_embed_dim": 768, | |
"channels": 3, |
NewerOlder