-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
441f03e
commit 61d8732
Showing
3 changed files
with
21 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,20 @@ | ||
# Config | ||
::: config | ||
|
||
Config file to define all hyperparameters. | ||
|
||
```python | ||
from tensorflow.keras.preprocessing.image import ImageDataGenerator | ||
|
||
epoch = 10 | ||
batch_size = 32 | ||
datagen = ImageDataGenerator() | ||
step_per_epoch = 100 | ||
target_size = (128, 128) | ||
x_col = None | ||
y_col = None # TODO: Remove? This is not used if a task is defined. | ||
|
||
perform_validation = False | ||
validation_split = 0.1 # The percentage of data set aside for the validation set | ||
validation_steps = 1 | ||
datagen_valid = ImageDataGenerator() | ||
kwargs = {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters