Fail to deploy a large tensorflow model using RStudio Connect

this model just copy from Rstudio tensorflow blog.


Preparing to deploy tensorflow-saved-model...DONE
Uploading bundle for tensorflow-saved-model: 11...Error: HTTP 413
<head><title>413 Request Entity Too Large</title></head>
<body bgcolor="white">
<center><h1>413 Request Entity Too Large</h1></center>
<hr><center>nginx/1.4.6 (Ubuntu)</center>

I moved this to the ML category, though I accept it might belong in R-Admins too.

Have you seen this discussion?


Thanks a lot, it seems that my nginx block the upload process.

I just add this on the nginx sever block, it will fix.

client_max_body_size 2M;