text-to-sinogram-v1 / README.md
AshrafAlAodat's picture
Update README.md
5b8a9ee
metadata
license: creativeml-openrail-m
tags:
  - stable-diffusion
  - stable-diffusion-diffusers
  - text-to-image
inference: true
extra_gated_prompt: >-
  This model is open access and available to all, with a CreativeML OpenRAIL-M
  license further specifying rights and usage.

  The CreativeML OpenRAIL License specifies: 


  1. You can't use the model to deliberately produce nor share illegal or
  harmful outputs or content 

  2. Riffusion claims no rights on the outputs you generate, you are free to use
  them and are accountable for their use which must not go against the
  provisions set in the license

  3. You may re-distribute the weights and use the model commercially and/or as
  a service. If you do, please be aware you have to include the same use
  restrictions as the ones in the license and share a copy of the CreativeML
  OpenRAIL-M to all your users (please read the license entirely and carefully)

  Please read the full license carefully here:
  https://huggingface.co/spaces/CompVis/stable-diffusion-license
      
extra_gated_heading: Please read the LICENSE to access this model

Text-To-Sinogram

is an app for generation of sinogram with stable diffusion.

This repository contains the model files, including:

  • a diffusers formated library
  • a compiled checkpoint file
  • a traced unet for improved inference speed

Model V1

It is a latent text-to-image diffusion model capable of generating sinogram images given any text input. These sinograms can be reconstructed back to the original image.

The model was created by Ashraf Al-Aodat as a proof of concept.

You can use the model directly.

The model was created by fine-tuning the Stable-Diffusion-v1-5 checkpoint. Read about Stable Diffusion here 🤗's Stable Diffusion blog.

Model Output

Examples of some generated sinograms using the prompt bat..

sinograms

After image reconstruction..

reconstructions

Model Details

Direct Use

The model is intended for research purposes only. Possible research areas and tasks include

  • Generation of artworks, and use in creative processes.
  • Applications in educational or creative tools.
  • Research on generative models.

Datasets

The modeal was trained on the sinograms dataset.

Fine Tuning

Check out the diffusers training examples from Hugging Face. Fine tuning requires a dataset of sinogram images of objects, with associated text describing them. Note that the CLIP encoder is able to understand and connect many words even if they never appear in the dataset. It is also possible to use a dreambooth method to get custom styles.

Citation

If you build on this work, please cite it as follows:

@article{TODO,
  author = {Al-Aodat, Ashraf*},
  title = {{Text-To-Sinogram - Stable diffusion for sinogram generation a proof of concept}},
  year = {2022}
}