Trouble with YUV420 to float tensor conversion

Hello @laganojunior

Thanks for reporting it.

There was a bug in yuv to rgb conversion, the fix was landed in master recently [android] Fix YUV camera image to tensor by IvanKobzarev · Pull Request #50871 · pytorch/pytorch · GitHub

Next nightly build of

    implementation 'org.pytorch:pytorch_android_torchvision:1.8.0-SNAPSHOT'

will contain that fix.