pytorch / vision

Datasets, Transforms and Models specific to Computer Vision
https://pytorch.org/vision
BSD 3-Clause "New" or "Revised" License
16.04k stars 6.93k forks source link

use_sequence_param_check #8615

Closed venkatram-dev closed 4 weeks ago

venkatram-dev commented 1 month ago

Use Sequence for parameters type checking in transforms.RandomErase

Issue https://github.com/pytorch/vision/issues/8549

cc @vfdev-5

pytorch-bot[bot] commented 1 month ago

:link: Helpful Links

:test_tube: See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/vision/8615

Note: Links to docs will display an error until the docs builds have been completed.

:white_check_mark: You can merge normally! (8 Unrelated Failures)

As of commit cffb70df2b51eeaba3ea2b08ebe66aa1fb81f4f2 with merge base c10f938f5dd4c1849292daae3950c67e6915e0ec (image):

FLAKY - The following jobs failed but were likely due to flakiness present on trunk:

* [CMake / windows (windows.4xlarge, cpu) / windows-job](https://hud.pytorch.org/pr/pytorch/vision/8615#29485425597) ([gh](https://github.com/pytorch/vision/actions/runs/10635560943/job/29485425597)) (detected as infra flaky with no log or failing log classifier) * [CMake / windows (windows.g5.4xlarge.nvidia.gpu, cuda, 11.8) / windows-job](https://hud.pytorch.org/pr/pytorch/vision/8615#29485426185) ([gh](https://github.com/pytorch/vision/actions/runs/10635560943/job/29485426185)) (detected as infra flaky with no log or failing log classifier) * [Tests / unittests-linux (3.9, linux.g5.4xlarge.nvidia.gpu, cuda, 11.8) / linux-job](https://hud.pytorch.org/pr/pytorch/vision/8615#29485427236) ([gh](https://github.com/pytorch/vision/actions/runs/10635560958/job/29485427236)) (detected as infra flaky with no log or failing log classifier) * [Tests / unittests-windows (3.10, windows.4xlarge, cpu) / windows-job](https://hud.pytorch.org/pr/pytorch/vision/8615#29485428681) ([gh](https://github.com/pytorch/vision/actions/runs/10635560958/job/29485428681)) (detected as infra flaky with no log or failing log classifier) * [Tests / unittests-windows (3.11, windows.4xlarge, cpu) / windows-job](https://hud.pytorch.org/pr/pytorch/vision/8615#29485428911) ([gh](https://github.com/pytorch/vision/actions/runs/10635560958/job/29485428911)) (detected as infra flaky with no log or failing log classifier) * [Tests / unittests-windows (3.12, windows.4xlarge, cpu) / windows-job](https://hud.pytorch.org/pr/pytorch/vision/8615#29485429159) ([gh](https://github.com/pytorch/vision/actions/runs/10635560958/job/29485429159)) (detected as infra flaky with no log or failing log classifier) * [Tests / unittests-windows (3.9, windows.4xlarge, cpu) / windows-job](https://hud.pytorch.org/pr/pytorch/vision/8615#29485429366) ([gh](https://github.com/pytorch/vision/actions/runs/10635560958/job/29485429366)) (detected as infra flaky with no log or failing log classifier)

BROKEN TRUNK - The following job failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

* [Tests / unittests-windows (3.9, windows.g5.4xlarge.nvidia.gpu, cuda, 11.8) / windows-job](https://hud.pytorch.org/pr/pytorch/vision/8615#29485429587) ([gh](https://github.com/pytorch/vision/actions/runs/10635560958/job/29485429587)) ([trunk failure](https://hud.pytorch.org/pytorch/vision/commit/c10f938f5dd4c1849292daae3950c67e6915e0ec#29481225585)) `AttributeError: '_OpNamespace' 'image' object has no attribute '_jpeg_version'`

This comment was automatically generated by Dr. CI and updates every 15 minutes.