Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
sebffischer committed Jan 31, 2025
1 parent 21cc9d1 commit 62aca8c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
* feat: Added `n_layers` parameter to MLP
* BREAKING_CHANGE: Early stopping now not uses `epochs - patience` for the internally tuned
values instead of the trained number of `epochs` as it was before.
Also, the improvement is calcualted as the difference between the current and the best score,
Also, the improvement is calculated as the difference between the current and the best score,
not the current and the previous score.
* feat: Added multimodal melanoma example task
* feat: Added a callback to iteratively unfreeze parameters for finetuning
* fix: torch learners can now be used with `AutoTuner`
* feat: Added different learning rate schedulers as callbacks
* feat: Added multimodal melanoma and cifar{10, 100} example tasks.
* feat: Added a callback to iteratively unfreeze parameters for finetuning.
* fix: torch learners can now be used with `AutoTuner`.
* feat: Added different learning rate schedulers as callbacks.

# mlr3torch 0.1.2

Expand Down
2 changes: 1 addition & 1 deletion R/LearnerTorch.R
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ marshal_model.learner_torch_model = function(model, inplace = FALSE, ...) {
#' @export
unmarshal_model.learner_torch_model_marshaled = function(model, inplace = FALSE, device = "cpu", ...) {
model = model$marshaled
model$network = if (model$jitted) {
model$network = if (isTRUE(model$jitted)) {
deser = jit_unserialize(model$network)
deser$to(device = device)
deser
Expand Down

0 comments on commit 62aca8c

Please sign in to comment.