Skip to content

Commit

Permalink
FIX: Distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
User3574 committed Aug 8, 2023
1 parent c9e5c73 commit 0db2df2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 475 deletions.
3 changes: 3 additions & 0 deletions ai/src/itwinai/models/tensorflow/cyclegan.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,9 @@ def train_step(self, batch_data):
"D_Y_loss": disc_Y_loss,
}

def call(self, inputs):
return self.gen_G(inputs, training=False)

def get_config(self):
config = super().get_config().copy()
config.update({
Expand Down
2 changes: 1 addition & 1 deletion use-cases/zebra2horse/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ trainer:
class_path: trainer.Zebra2HorseTrainer
init_args:
epochs: 10
batch_size: 1
batch_size: 4
model:
class_path: itwinai.models.tensorflow.cyclegan.CycleGAN
init_args:
Expand Down
Loading

0 comments on commit 0db2df2

Please sign in to comment.