|
4 | 4 | * When running in parallel, the chief may exit before some client ask for
|
5 | 5 | another trial, which informs the client to exit. Now, it is fixed.
|
6 | 6 |
|
| 7 | +## New features |
| 8 | +* Updated the dependency from `keras-core` to `keras` version 3 and above. Also |
| 9 | + support `keras` version 2 for backward compatibility. |
| 10 | + |
7 | 11 | # Release v1.4.5
|
8 | 12 |
|
9 | 13 | ## Bug fixes
|
|
14 | 18 | * When running in parallel, the chief used to start to block in
|
15 | 19 | `tuner.__init__()`. However, it makes more sense to block when calling
|
16 | 20 | `tuner.search()`. Now, it is fixed.
|
17 |
| -* Could not do `from keras_tuner.engine.hypermodel import HyperModel`. It is now fixed. |
18 |
| -* Could not do `from keras_tuner.engine.hyperparameters import HyperParameters`. It is now fixed. |
19 |
| -* Could not do `from keras_tuner.engine.metrics_tracking import infer_metric_direction`. It is now fixed. |
20 |
| -* Could not do `from keras_tuner.engine.oracle import Objective`. It is now fixed. |
| 21 | +* Could not do `from keras_tuner.engine.hypermodel import HyperModel`. It is now |
| 22 | + fixed. |
| 23 | +* Could not do `from keras_tuner.engine.hyperparameters import HyperParameters`. |
| 24 | + It is now fixed. |
| 25 | +* Could not do `from keras_tuner.engine.metrics_tracking import |
| 26 | + infer_metric_direction`. It is now fixed. |
| 27 | +* Could not do `from keras_tuner.engine.oracle import Objective`. It is now |
| 28 | + fixed. |
21 | 29 | * Could not do `from keras_tuner.engine.oracle import Oracle`. It is now fixed.
|
22 | 30 |
|
23 | 31 | # Release v1.4.4
|
24 | 32 |
|
25 | 33 | ## Bug fixes
|
26 |
| -* Could not do `from keras_tuner.engine.hyperparameters import serialize`. It is now fixed. |
27 |
| -* Could not do `from keras_tuner.engine.hyperparameters import deserialize`. It is now fixed. |
28 |
| -* Could not do `from keras_tuner.engine.tuner import maybe_distribute`. It is now fixed. |
| 34 | +* Could not do `from keras_tuner.engine.hyperparameters import serialize`. It is |
| 35 | + now fixed. |
| 36 | +* Could not do `from keras_tuner.engine.hyperparameters import deserialize`. It |
| 37 | + is now fixed. |
| 38 | +* Could not do `from keras_tuner.engine.tuner import maybe_distribute`. It is |
| 39 | + now fixed. |
29 | 40 |
|
30 | 41 | # Release v1.4.3
|
31 | 42 |
|
|
126 | 137 | * If you implemented your own `Oracle` and overrided `Oracle.end_trial()`, you
|
127 | 138 | need to change the signature of the function from
|
128 | 139 | `Oracle.end_trial(trial.trial_id, trial.status)` to `Oracle.end_trial(trial)`.
|
129 |
| -* The default value of the `step` argument in `keras_tuner.HyperParameters.Int()` is |
| 140 | +* The default value of the `step` argument in |
| 141 | +* `keras_tuner.HyperParameters.Int()` is |
130 | 142 | changed to `None`, which was `1` before. No change in default behavior.
|
131 | 143 | * The default value of the `sampling` argument in
|
132 | 144 | `keras_tuner.HyperParameters.Int()` is changed to `"linear"`, which was `None`
|
|
136 | 148 | `None` before. No change in default behavior.
|
137 | 149 | * If you explicitly rely on protobuf values, the new protobuf bug fix may affect
|
138 | 150 | you.
|
139 |
| -* Changed the mechanism of how a random sample is drawn for a hyperparameter. They |
140 |
| - now all start from a random value between 0 and 1, and convert the value |
| 151 | +* Changed the mechanism of how a random sample is drawn for a hyperparameter. |
| 152 | + They now all start from a random value between 0 and 1, and convert the value |
141 | 153 | to a random sample.
|
142 | 154 |
|
143 | 155 | ## New features
|
|
147 | 159 | and `Oracle` initializers, `max_retries_per_trial` and
|
148 | 160 | `max_consecutive_failed_trials`.
|
149 | 161 | * You can now mark a `Trial` as failed by
|
150 |
| - `raise keras_tuner.FailedTrialError("error message.")` in `HyperModel.build()`, |
151 |
| - `HyperModel.fit()`, or your model build function. |
| 162 | + `raise keras_tuner.FailedTrialError("error message.")` in |
| 163 | + `HyperModel.build()`, `HyperModel.fit()`, or your model build function. |
152 | 164 | * Provides better error messages for invalid configs for `Int` and `Float` type
|
153 | 165 | hyperparameters.
|
154 | 166 | * A decorator `@keras_tuner.synchronized` is added to decorate the methods in
|
|
166 | 178 | dimension`, but it defaults to 2. This is now fixed.
|
167 | 179 | * It would through an error when using a concrete Keras optimizer object to
|
168 | 180 | override the `HyperModel` compile arg. This is now fixed.
|
169 |
| -* Workers might crash due to `Oracle` reloading when running in parallel. This is |
170 |
| - now fixed. |
| 181 | +* Workers might crash due to `Oracle` reloading when running in parallel. This |
| 182 | + is now fixed. |
0 commit comments