transformers
e46e3bc1 - Fix UDOP dtype issue (#34180)

Commit
1 year ago
Fix UDOP dtype issue (#34180) * Trigger UDOP tests * Try forcing dtype in LayoutLMV3 * Do checks to see where uint8 is getting in * Do checks to see where uint8 is getting in * Found it! * Add .astype(np.float32) * Remove forced check, make fixup * Checking where exactly the uint8 creeps in * More checking on the uint8 issues * Manually upcast in rescale() * Remove UDOP trigger
Author
Parents
Loading