The downscale factor applied in the T2I-Adapter's initial pixel unshuffle operation. If an input image's dimensions are not evenly divisible by the downscale_factor then an exception will be raised.
(self)
| 279 | |
| 280 | @property |
| 281 | def downscale_factor(self): |
| 282 | """The downscale factor applied in the T2I-Adapter's initial pixel unshuffle operation. If an input image's dimensions are |
| 283 | not evenly divisible by the downscale_factor then an exception will be raised. |
| 284 | """ |
| 285 | return self.adapter.unshuffle.downscale_factor |
| 286 | |
| 287 | |
| 288 | # full adapter |
nothing calls this directly
no outgoing calls
no test coverage detected