Commit 47b3346
Shap-E: add support for mesh output (huggingface#4062)
* add output_type=mesh
* update img2img
* make style
* add doc
* make style
* Apply suggestions from code review
Co-authored-by: Pedro Cuenca <[email protected]>
* add docstring for output_type
* add a section in doc about hub mesh visualization/ rotation
* update conversion script so default background is white
* Apply suggestions from code review
Co-authored-by: Sayak Paul <[email protected]>
* Update src/diffusers/pipelines/shap_e/pipeline_shap_e_img2img.py
Co-authored-by: Sayak Paul <[email protected]>
* renderer -> shap_e_renderer
* img2img renderer -> shap_e_renderer
* fix tests
---------
Co-authored-by: yiyixuxu <yixu310@gmail,com>
Co-authored-by: Pedro Cuenca <[email protected]>
Co-authored-by: Sayak Paul <[email protected]>1 parent 07f1fbb commit 47b3346
File tree
9 files changed
+1040
-59
lines changed- docs/source/en/api/pipelines
- scripts
- src/diffusers
- pipelines/shap_e
- utils
- tests/pipelines/shap_e
9 files changed
+1040
-59
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
131 | 188 | | |
132 | 189 | | |
133 | 190 | | |
| |||
0 commit comments