Run this model with HF Jobs
Run SumantBobade/Image_To_3D_Generator on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/SumantBobade/Image_To_3D_Generator. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/SumantBobade/Image_To_3D_Generator on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use SumantBobade/Image_To_3D_Generator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use SumantBobade/Image_To_3D_Generator with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("SumantBobade/Image_To_3D_Generator", 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
finalize remote weights
Browse filesFiles changed (3)
- README.md+10-7
- run_imagedream.py+2-2
- run_mvdream.py+2-2
1 unmodified line23455678789101112910111 unmodified line131415161718192021222324251 unmodified line
A **unified** diffusers implementation of [MVDream](https://github.com/bytedance/MVDream) and [ImageDream](https://github.com/bytedance/ImageDream).
We provide converted `fp16` weights on [huggingface](TODO).We provide converted `fp16` weights on huggingface:* [MVDream](https://huggingface.co/ashawkey/mvdream-sd2.1-diffusers)* [ImageDream](https://huggingface.co/ashawkey/imagedream-ipmv-diffusers)
### Usage
```bashpython run_mvdream.py "a cute owl"python run_imagedream.py data/anya_rgba.png```
### Install```bash1 unmodified linepip install -r requirements.txt```
### Usage
```bashpython run_mvdream.py "a cute owl"python run_imagedream.py data/anya_rgba.png```
### Convert weights
MVDream:4 unmodified lines56789891011124 unmodified linesfrom pipeline_mvdream import MVDreamPipeline
pipe = MVDreamPipeline.from_pretrained( "./weights_imagedream", # local weights # "ashawkey/mvdream-sd2.1-diffusers", # "./weights_imagedream", # local weights "ashawkey/imagedream-ipmv-diffusers", # remote weights torch_dtype=torch.float16, trust_remote_code=True,)4 unmodified lines56789891011124 unmodified linesfrom pipeline_mvdream import MVDreamPipeline
pipe = MVDreamPipeline.from_pretrained( "./weights_mvdream", # local weights # 'ashawkey/mvdream-sd2.1-diffusers', # remote is not # "./weights_mvdream", # local weights 'ashawkey/mvdream-sd2.1-diffusers', # remote weights torch_dtype=torch.float16, trust_remote_code=True,)README.md+10-7
run_imagedream.py+2-2
run_mvdream.py+2-2