New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Fix] Transformation Matrix Mis-calculation for autoaugmentations #2852
Conversation
for more information, see https://pre-commit.ci
weird. It passed on my local machine, but not here. |
I'm not sure if it's me who added the skip, but if it was, that's why it was like randomness 😢 maybe it's just an adjust in the tolerance? |
It is added by Dmytro I think. The point is after my fix, it totally works on my machine under Python3.8 and torch1.9.1. I do not know what is going on in the CI. XD |
in my local it is randomly falling xD $ conda create -p venv38 python=3.8
$ conda install pytorch=1.9.1 cpuonly -c pytorch -c nvidia
$ pip install accelerate==0.20.3 # otherwise will install new torch
$ pip install -e .[dev,x]
# run it until fail
$ pytest tests/augmentation/test_auto_operation.py --device=cpu --dtype=float64,float32 -vv some times the
btw, the number of warnings also changes a lot between each run (like between 5 and 13 warning) |
for more information, see https://pre-commit.ci
…nto aug/automat
for more information, see https://pre-commit.ci
…rnia#2852) * fixes kornia#2843 * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix * fixes kornia#2843 * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix * compress warnings * update * fix * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Fixes #2843