jasonrock-a3

Results 4 comments of jasonrock-a3

@Dipet I wrote a script to just keep making new images until it broke printing out the center, and can say with some certainty that the problem has to do...

The root cause is https://github.com/albumentations-team/albumentations/blob/master/albumentations/augmentations/transforms.py#L689 ``` math.tan(pi/2-epsilon) --> inf ``` I'm not sure I understand the goal of the `tan` here well enough to offer a fix at the moment,...

If I understand this correctly, basically when the angle is pi/2 or 3pi/2 the sun is directly above or below, so the sampling of centers along the x direction doesn't...

Also if anyone stumbles on this before the fix is put in, you can workaround this issue by limiting the range of the input to `tan` to `(.25, .75)` avoid...