Skip to content

Commit 4b61b87

Browse files
Merge pull request #716 from rstudio/bugfix/application_mobilenet_fix
depth_multiplier was removed
2 parents 632cb84 + 0991561 commit 4b61b87

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

DESCRIPTION

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,5 @@ Remotes:
4343
rstudio/tensorflow
4444
SystemRequirements: Keras >= 2.0 (https://keras.io)
4545
Roxygen: list(markdown = TRUE)
46-
RoxygenNote: 6.1.0.9000
46+
RoxygenNote: 6.1.1
4747
VignetteBuilder: knitr
48-
49-

R/applications.R

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -435,13 +435,12 @@ mobilenet_load_model_hdf5 <- function(filepath) {
435435
#' @seealso application_mobilenet
436436
#'
437437
#' @export
438-
application_mobilenet_v2 <- function(input_shape = NULL, alpha = 1.0, depth_multiplier = 1, include_top = TRUE,
438+
application_mobilenet_v2 <- function(input_shape = NULL, alpha = 1.0, include_top = TRUE,
439439
weights = "imagenet", input_tensor = NULL, pooling = NULL, classes = 1000) {
440440

441441
keras$applications$MobileNetV2(
442442
input_shape = as_integer_tuple(input_shape),
443443
alpha = alpha,
444-
depth_multiplier = as.integer(depth_multiplier),
445444
include_top = include_top,
446445
weights = weights,
447446
input_tensor = input_tensor,

man/application_mobilenet_v2.Rd

Lines changed: 2 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)