You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using this code ^ the resulting translation is massive. It's in hundreds of thousands when I use Uniform instead of defining translate_px as just a tuple.
The text was updated successfully, but these errors were encountered:
Yes, that seems wrong. You can use iap.DiscreteUniform instead of iap.Uniform until its fixed. Affine then understands that an absolute pixel amount is meant and not a relative amount.
Here is an example of a problem:
https://colab.research.google.com/drive/1OM--s8zhyesrzugQxWvHdWRiawko8odx
Using this code ^ the resulting translation is massive. It's in hundreds of thousands when I use Uniform instead of defining
translate_px
as just a tuple.The text was updated successfully, but these errors were encountered: