Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
ytao-wang authored Sep 19, 2024
1 parent 0bb40fd commit 45347c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion train_cvact.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ class Configuration:

# is use polar
is_polar: bool = False
psm: bool = True
image_size_sat = (256, 256)
img_size_ground = (128, 512)

Expand Down Expand Up @@ -147,7 +148,7 @@ class Configuration:
model = TimmModel(config.model,
config.image_size_sat,
config.img_size_ground,
psm=True,
psm=config.psm,
is_polar=config.is_polar)

mean=[0.485, 0.456, 0.406]
Expand Down
3 changes: 2 additions & 1 deletion train_cvusa.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class Configuration:

# is use polar
is_polar: bool = False
psm: bool = True
image_size_sat = (256, 256)
img_size_ground = (128, 512)

Expand Down Expand Up @@ -143,7 +144,7 @@ class Configuration:
model = TimmModel(config.model,
config.image_size_sat,
config.img_size_ground,
psm=True,
psm=config.psm,
is_polar=config.is_polar)

mean=[0.485, 0.456, 0.406]
Expand Down

0 comments on commit 45347c5

Please sign in to comment.