jeremiedb commented on issue #7968: [R] Transfer Learning using VGG-16
URL: 
https://github.com/apache/incubator-mxnet/issues/7968#issuecomment-332681117
 
 
   inpu/output shapes need to be passed as named lists in 
`mx.model.init.params` : 
   
   ```
   arg_params_new <- mx.model.init.params(
     symbol = new_soft, 
     input.shape = list(data = c(224, 224, 3, 8)),
     output.shape = NULL,
     initializer = mxnet:::mx.init.uniform(0.1), 
     ctx = mx.cpu()
   )$arg.params
   ```
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to