Skip to content

Commit

Permalink
[ADD] Configure Input Shape
Browse files Browse the repository at this point in the history
  • Loading branch information
wbenbihi committed Aug 20, 2022
1 parent 3a3b7a9 commit 00b1c7e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/config.default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ dataset:
sets:
test: true
validation: true
input:
size: 256
split:
column: set
train_value: TRAIN
Expand Down
5 changes: 5 additions & 0 deletions hourglass_tensorflow/utils/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,17 @@ class HTFDatasetBBoxConfig(BaseModel):
)


class HTFDatasetSizeConfig(BaseModel):
input: int = 256


class HTFDatasetConfig(BaseModel):
object: str
params: Optional[HTFDatasetParamsConfig] = Field(
default_factory=HTFDatasetParamsConfig
)
sets: Optional[HTFDatasetSetsConfig]
size: Optional[HTFDatasetSizeConfig] = Field(default_factory=HTFDatasetSizeConfig)
split: Optional[HTFDatasetSplitConfig] = Field(
default_factory=HTFDatasetSplitConfig
)
Expand Down

0 comments on commit 00b1c7e

Please sign in to comment.