Skip to content

Commit

Permalink
Update R/LearnerTorchImage.R
Browse files Browse the repository at this point in the history
  • Loading branch information
sebffischer authored Nov 8, 2024
1 parent 5833a0e commit 06edf6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/LearnerTorchImage.R
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ LearnerTorchImage = R6Class("LearnerTorchImage",
#' @description
#' Creates a new instance of this [R6][R6::R6Class] class.
initialize = function(id, task_type, param_set = ps(), label, optimizer = NULL, loss = NULL,
callbacks = list(), packages = c("torchvision"), man, properties = NULL,
callbacks = list(), packages = "torchvision", man, properties = NULL,
predict_types = NULL) {
properties = properties %??% switch(task_type,
regr = c(),
Expand Down

0 comments on commit 06edf6d

Please sign in to comment.