$ imagen sample --model ./path/to/model/checkpoint.pt "a squirrel raiding the birdfeeder" # image is saved to ./a_squirrel_raiding_the_birdfeeder.png You can pass following arguments to the sample command. --model specify the model file to use for sampling --cond_scale conditioning scale...
Kayfor contributing one line command training of Imagen! Hadrien Reynaudfor testing out text-to-video on a medical dataset, sharing his results, and identifying issues! Install $ pip install imagen-pytorch Usage importtorchfromimagen_pytorchimportUnet,Imagen# unet for imagenunet1=Unet(dim=32,cond...
$ imagen sample --model ./path/to/model/checkpoint.pt "a squirrel raiding the birdfeeder" # image is saved to ./a_squirrel_raiding_the_birdfeeder.png You can pass following arguments to the sample command. --model specify the model file to use for sampling --cond_scale conditioning scale...
$ imagen sample --model ./path/to/model/checkpoint.pt "a squirrel raiding the birdfeeder" # image is saved to ./a_squirrel_raiding_the_birdfeeder.png You can pass following arguments to the sample command. --model specify the model file to use for sampling --cond_scale conditioning scale...