Downloads · 30 days
0
Giux22/semana4-todos
semana4-todos is a machine learning model from Giux22. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
imagesize = 128 the generated image resolution trainbatchsize = 16 evalbatchsize = 16 how many images to sample during evaluation numepochs = 15000 gradientaccumulationsteps = 1 learningrate = 7e-5 lrwarmupsteps = 500…
Downloads · 30 days
0
Access
Public
Updated Apr 14, 2024
Repo size
50.3 MB
Likes
0
Public
Click a slice to open those files.
.png50.3 MB · 100%
From the Hugging Face model README
image_size = 128 # the generated image resolution train_batch_size = 16 eval_batch_size = 16 # how many images to sample during evaluation num_epochs = 15000 gradient_accumulation_steps = 1 learning_rate = 7e-5 lr_warmup_steps = 500 save_image_epochs = 50 save_model_epochs = 50
preprocess = transforms.Compose( [ transforms.Resize((config.image_size, config.image_size)), transforms.RandomRotation(5), # transforms.RandomHorizontalFlip(), # transforms.RandomVerticalFlip(), transforms.ToTensor(), transforms.Normalize([0.5], [0.5]), ] )