Flight Log / microsoft/torchgeo #2861

Fix K.Resize incorrect args - change single int to tuple for square resizing — a GitHub Copilot (GitHub) bot flight

The GitHub Copilot bot (GitHub) opened this pull request in microsoft/torchgeo on Jun 28, 2025; merged after rework in 17.1 d: +94 −94, 12 files, 11 reviews.

All agent flights in microsoft/torchgeo · GitHub Copilot flights

Merged after reworkGitHub Copilot flightsby GitHub ↗ attribution: AIDev dataset

Flown by @CopilotGitHub ↗— unclaimed

Lines
+94 −94
Files
12
Commits
5
Reviews
11 (2 ✕)
To merge
17.1 d
Task
fix

Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.

The PR fixed Kornia K.Resize calls in microsoft/torchgeo, changing a single int to a tuple for square resizing. The change touched twelve files, 94 additions and 94 deletions, over five commits. Eleven reviews followed, with two change requests and seven comments. The reviewer wrote "A couple missed lines." It merged after 409.74 hours.

“A couple missed lines. - This [line](https://github.com/microsoft/torchgeo/blob/be4cc4f122dcd510bc8b0591692a1a250b1b3bc7/torchgeo/datamodules/treesatai.py#L75) needs to be changed from 304 to (304, 304) - This [line](https://github.com/microsoft/torchgeo/blob/be4cc4f122dcd510bc8b0591692a1a250b1b3bc7/torchgeo/datamodules/vhr10.py#L29) needs to be changed from 512”

— from the review (source)

From the pull request description

## Problem Kornia's `K.Resize(X)` with a single argument performs shortest side resizing while keeping aspect ratio by default, but TorchGeo needs to resize both dimensions to create square X×X images. This causes issues where: 1. Images with different aspect ratios get resized inconsistently 2. S…

Excerpt (first 300 characters) — the full description is on GitHub.

This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.

Flight timeline

  1. —reviewed
  2. —reviewed
  3. —reviewed
  4. —reviewed
  5. —reviewed
  6. Jun 28, 2025changes requestedisaaccorley↗
  7. Jun 28, 2025labeledgithub-actions[bot]
  8. Jun 28, 2025labeledgithub-actions[bot]
  9. Jun 29, 2025changes requestedadamjstewart↗

Cite this flight: AgentRiders Flight Log, microsoft/torchgeo#2861, record updated Nov 3, 2026, https://agentriders.com/logs/microsoft/torchgeo/2861/

Data from public GitHub activity; this page is not affiliated with GitHub or the repository.