Skip to content

Custom disaster-based train/test splits for xView2 dataset #10526

Custom disaster-based train/test splits for xView2 dataset

Custom disaster-based train/test splits for xView2 dataset #10526

Triggered via pull request February 1, 2025 19:41
Status Failure
Total duration 3m 30s
Artifacts

style.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors
Ruff (I001): tests/datasets/test_xview.py#L4
tests/datasets/test_xview.py:4:1: I001 Import block is un-sorted or un-formatted
Ruff (F401): tests/datasets/test_xview.py#L15
tests/datasets/test_xview.py:15:61: F401 `torchgeo.datasets.XView2DistShift` imported but unused
Ruff (RUF012): torchgeo/datasets/xview.py#L298
torchgeo/datasets/xview.py:298:15: RUF012 Mutable class attributes should be annotated with `typing.ClassVar`
Ruff (RUF012): torchgeo/datasets/xview.py#L301
torchgeo/datasets/xview.py:301:23: RUF012 Mutable class attributes should be annotated with `typing.ClassVar`
Ruff (RUF013): torchgeo/datasets/xview.py#L322
torchgeo/datasets/xview.py:322:21: RUF013 PEP 484 prohibits implicit `Optional`
ruff
Process completed with exit code 1.
mypy
Process completed with exit code 1.