I have created a Neural network model using mxnet package in R studio. I tested the model on local and it works as expected. I have deployed the same model as a webservice in AzureML using publishwebservice()
function from R.
When I try to predict the test data with the webservice using consume()
function:
pred_cnn <- consume(endpoint_cnn, testdf)
it always throws following error:
Error: AzureML returns error code: HTTP status code : 400 AzureML error code : LibraryExecutionError
Module execution encountered an internal library error.
The following error occurred during evaluation of R script: R_tryEval: return error: Error in UseMethod("predict") :
no applicable method for 'predict' applied to an object of class "MXFeedForwardModel"
HTTP status code: 400
which implies a "bad request", output oftraceback()
could shed more light – Silence DogoodCough
- gentle reminder that we prefer not to see mentions of urgency here. Remember that it's volunteers that are reading your questions. – halfer