This model has been pushed to the Hub using the
PytorchModelHubMixin integration:
This model is a DiT (diffusion transformer) trained on Wikiart dataset
https://huggingface.co/datasets/Artificio/WikiArt from scratch. It is designed to generate art images given art genre and art style.
To use the model, install the "huggingface_hub" library and download modeling_dit_wikiart.py in "Files and versions" for model definition. After that you can use the model using the following code:
1from modeling_dit_wikiart import DiTWikiartModel
2
3model = DiTWikiartModel.from_pretrained("kaupane/DiT-Wikiart-Small")
4num_samples = 8
5noisy_latents = torch.randn(num_samples,4,32,32)
6predicted_noise = model(noisy_latents)
7print(predicted_noise)
The model is paired with stabilityai/sd-vae-ft-ema.