Instructions to use hchen657Naza/PWM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use hchen657Naza/PWM with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("hchen657Naza/PWM", 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
Download PWM_code/policy_rl/act/detr/setup.py from hchen657Naza/PWM: direct link, hf CLI and curl.
- Browser
- Download file 221 Bytes
-
https://huggingface.co/hchen657Naza/PWM/resolve/main/PWM_code/policy_rl/act/detr/setup.py
- Command line
-
hf download hf://hchen657Naza/PWM/PWM_code/policy_rl/act/detr/setup.py
-
curl -L -o setup.py https://huggingface.co/hchen657Naza/PWM/resolve/main/PWM_code/policy_rl/act/detr/setup.py
221 Bytes
| from distutils.core import setup | |
| from setuptools import find_packages | |
| setup( | |
| name='detr', | |
| version='0.0.0', | |
| packages=find_packages(), | |
| license='MIT License', | |
| long_description=open('README.md').read(), | |
| ) |