cnn_config: Cnn config

Description Usage Arguments Value

View source: R/cnn_learner.R

Description

Convenience function to easily create a config for 'create_cnn_model'

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
cnn_config(
  cut = NULL,
  pretrained = TRUE,
  n_in = 3,
  init = nn()$init$kaiming_normal_,
  custom_head = NULL,
  concat_pool = TRUE,
  lin_ftrs = NULL,
  ps = 0.5,
  bn_final = FALSE,
  lin_first = FALSE,
  y_range = NULL
)

Arguments

cut

cut

pretrained

pre-trained or not

n_in

input shape

init

initializer

custom_head

custom head

concat_pool

concatenate pooling

lin_ftrs

linear filters

ps

parameter server

bn_final

batch normalization final

lin_first

linear first

y_range

y_range

Value

None


fastai documentation built on July 28, 2021, 5:06 p.m.