Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix UDOP dtype issue (huggingface#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
- Loading branch information