forked from nasaharvest/kenya-crop-mask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
engineer.py
38 lines (26 loc) · 829 Bytes
/
engineer.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import sys
from pathlib import Path
# sys.path.append("..")
from src.engineer import (
GeoWikiEngineer,
PVKenyaEngineer,
KenyaNonCropEngineer,
# KenyaOAFEngineer,
)
def engineer_geowiki():
engineer = GeoWikiEngineer(Path("data"))
engineer.engineer(val_set_size=0.2)
def engineer_kenya():
engineer = PVKenyaEngineer(Path("data"))
engineer.engineer(val_set_size=0.1, test_set_size=0.1)
def engineer_kenya_noncrop():
engineer = KenyaNonCropEngineer(Path("data"))
engineer.engineer(val_set_size=0.1, test_set_size=0.1)
def engineer_oaf_kenya():
engineer = KenyaOAFEngineer(Path("data"))
engineer.engineer(val_set_size=0.1, test_set_size=0.1)
if __name__ == "__main__":
engineer_geowiki()
# engineer_kenya()
# engineer_kenya_noncrop()
# engineer_oaf_kenya()