mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-11-21 17:03:00 +00:00
make_encoderonly: kwargs
This commit is contained in:
parent
35dbd3f8bc
commit
4514086dc6
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ dataset_train, dataset_validate = dataset_encoderonly(
|
|||
# ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||
# ██ ██ ██████ ██████ ███████ ███████
|
||||
|
||||
def make_encoderonly(windowsize, channels, encoder="convnext", water_bins=2):
|
||||
def make_encoderonly(windowsize, channels, encoder="convnext", water_bins=2, **kwargs):
|
||||
if encoder == "convnext":
|
||||
model = make_convnext(input_shape=(windowsize, windowsize, channels), num_classes=water_bins, **kwargs)
|
||||
elif encoder == "resnet":
|
||||
|
|
Loading…
Reference in a new issue