Skip to content

Commit

Permalink
Removing "water decoder" references
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunand Raghupathi committed May 28, 2020
1 parent efd16dd commit 5711f71
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
16 changes: 0 additions & 16 deletions omnigan/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,6 @@ def __init__(self, opts, latent_shape=None, verbose=None):
if "s" in opts.tasks and not opts.gen.s.ignore:
self.decoders["s"] = SegmentationDecoder(opts)

if "w" in opts.tasks and not opts.gen.w.ignore:
self.decoders["w"] = WaterDecoder(opts)

if "m" in opts.tasks and not opts.gen.m.ignore:
self.decoders["m"] = MaskDecoder(opts)

Expand Down Expand Up @@ -225,19 +222,6 @@ def __init__(self, opts):
)


class WaterDecoder(BaseDecoder):
def __init__(self, opts):
super().__init__(
opts.gen.w.n_upsample,
opts.gen.w.n_res,
opts.gen.w.res_dim,
opts.gen.w.output_dim,
res_norm=opts.gen.w.res_norm,
activ=opts.gen.w.activ,
pad_type=opts.gen.w.pad_type,
)


class MaskDecoder(BaseDecoder):
def __init__(self, opts):
super().__init__(
Expand Down
2 changes: 1 addition & 1 deletion shared/trainer/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ output_path: /network/tmp1/schmidtv/yb_runs/test_v1
# -------------------
# ----- Tasks -----
# -------------------
tasks: [a, d, h, s, t, w, m]
tasks: [a, d, h, s, t, m]

# ----------------
# ----- Data -----
Expand Down

0 comments on commit 5711f71

Please sign in to comment.