Skip to content

Commit 669a4c0

Browse files
authored
Fix float rounding issues (torchgeo#736)
* Fix rounding bugs * Mypy fixes * Undo some changes * Undo some changes * mypy fixes * Fix tests * Increase size of ETCI2021 fake data * Undo model changes * line length fix
1 parent 8b48875 commit 669a4c0

27 files changed

+43
-31
lines changed

tests/data/etci2021/data.py

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,29 @@
1515
{
1616
"filename": "train.zip",
1717
"directory": "train",
18-
"subdirs": ["nebraska_20170108t002112", "bangladesh_20170314t115609"],
18+
"subdirs": [
19+
"nebraska_20170108t002112",
20+
"bangladesh_20170314t115609",
21+
"northal_20190302t234651",
22+
],
1923
},
2024
{
2125
"filename": "val_with_ref_labels.zip",
2226
"directory": "test",
23-
"subdirs": ["florence_20180510t231343", "florence_20180522t231344"],
27+
"subdirs": [
28+
"florence_20180510t231343",
29+
"florence_20180522t231344",
30+
"florence_20190302t234651",
31+
],
2432
},
2533
{
2634
"filename": "test_without_ref_labels.zip",
2735
"directory": "test_internal",
28-
"subdirs": ["redrivernorth_20190104t002247", "redrivernorth_20190116t002247"],
36+
"subdirs": [
37+
"redrivernorth_20190104t002247",
38+
"redrivernorth_20190116t002247",
39+
"redrivernorth_20190302t234651",
40+
],
2941
},
3042
]
3143

91 Bytes
Loading
91 Bytes
Loading
91 Bytes
Loading
91 Bytes
Loading
91 Bytes
Loading
91 Bytes
Loading
91 Bytes
Loading
1.92 KB
Binary file not shown.

tests/data/etci2021/train.zip

2.15 KB
Binary file not shown.

0 commit comments

Comments
 (0)