Group Abstract Group Abstract

Message Boards Message Boards

Do neural nets work with cloud deployment?

Posted 7 years ago
2 Replies

This net requires a 200 x 200 color image, like the ocelot. When I use the ocelot - by first exporting it as a PNG - it works as expected in the web form (although the result is just a black image).

Are you using a different image or not transferring it in an image format?

POSTED BY: Bob Sandheinrich

Having a similar issue, but with a much larger net. I used transfer learning to make a custom version of VGG-19/ImageNet. It works fine locally. CloudDeploy took about an hour and ballooned memory to something like 24GB! It finally finished, without an error, but trying to load the URL produces {"errorCode":"no-wolfram-engine-response","statusCode":503,"errorDetails":"Unable to evaluate"} The upload code in question is

link = URLShorten[
  CloudDeploy[
   FormFunction[{"photo" -> "Image"}, 
    vggNetClassifier[#photo, "TopProbabilities" -> 2] &], 
   Permissions -> "Public"]]

Is it just too big a function to deploy? I hope not if Wolfram is serious about making deep learning easy to use and deploy...

POSTED BY: Gareth Russell
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard