Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
fchollet committed Nov 25, 2024
1 parent 72e9b9d commit e0369f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion keras/src/models/functional_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,6 @@ def test_add_loss(self):
# TODO
pass

@pytest.mark.requires_trainable_backend
def test_layers_setter(self):
inputs = Input(shape=(3,), batch_size=2, name="input")
outputs = layers.Dense(5)(inputs)
Expand All @@ -611,6 +610,7 @@ def test_layers_setter(self):
):
model.layers = [layers.Dense(4)]

@pytest.mark.requires_trainable_backend
def test_dict_input_to_list_model(self):
vocabulary_size = 100
num_tags = 10
Expand Down
4 changes: 2 additions & 2 deletions keras/src/trainers/compile_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -582,8 +582,8 @@ def build(self, y_true, y_pred):
]
else:
raise ValueError(
f"Expected keys {self.output_names} in loss dict, but found "
f"loss.keys()={list(self._user_loss.keys())}"
f"Expected keys {self.output_names} in loss dict, but "
f"found loss.keys()={list(self._user_loss.keys())}"
)

# Pytree leaf container
Expand Down

0 comments on commit e0369f6

Please sign in to comment.