Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

hecool108
/
ct-p2

Unconditional Image Generation
Diffusers
TensorBoard
Safetensors
English
DDPMPipeline
text-generation-inference
Model card Files Files and versions
xet
Metrics Training metrics Community

Instructions to use hecool108/ct-p2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use hecool108/ct-p2 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("hecool108/ct-p2", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
ct-p2 / samples
1.22 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
hecool108's picture
hecool108
Epoch 1
d5b6519 over 2 years ago
  • 0001.png
    693 kB
    xet
    Epoch 1 over 2 years ago
  • 0009.png
    527 kB
    xet
    Epoch 9 over 2 years ago