<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Dumb generic cross-check from supporting compchem code in the
day: What do these give? Might yield a clue, e.g. all model files
seeing this got corrupted somehow.<br>
</p>
<p>$ file <b>/tmp/model/0001/model.joblib</b></p>
<p><b>$ ls -l </b><b><b>/tmp/model/0001/model.joblib</b></b></p>
<p><b><b><br>
</b></b></p>
<div class="moz-cite-prefix">On 1/25/19 9:26 AM, Liam Geron wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAJn_aE5Gvwa5hf9YLVz4Xo3mkN+Hfg1f=Y2Jx2yy4ibYJEv4BA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">Hi scikit learn contributors,
<div><br>
</div>
<div>I am currently attempting to transfer our preexisting
models into cloud ML for scalability, however I am
encountering bugs while running through some tutorial code
found here (<a
href="https://github.com/GoogleCloudPlatform/cloudml-samples/blob/master/sklearn/notebooks/Online%20Prediction%20with%20scikit-learn.ipynb"
moz-do-not-send="true">https://github.com/GoogleCloudPlatform/cloudml-samples/blob/master/sklearn/notebooks/Online%20Prediction%20with%20scikit-learn.ipynb</a>).</div>
<div><br>
</div>
<div>
<div>On both my local machine in a virtual environment and
on the cloud shell I'm encountering errors when it comes
to version creation and online prediction. For version
creation on my local machine and on the cloud shell I'm
encountering this error: <b>"ERROR:
(gcloud.ml-engine.versions.create) Bad model detected
with error: "Failed to load model: Could not load the
model: /tmp/model/0001/model.joblib. 32. (Error code:
0)""</b> with Python 3.6.4 (local) and Python 3.5.6
(cloud shell) when running the command: </div>
<div><br>
</div>
<div><b>"gcloud ml-engine versions create $VERSION_NAME \</b></div>
<div><b> --model $MODEL_NAME \</b></div>
<div><b> --config config.yaml"</b></div>
<div><br>
</div>
<div>Any help would be greatly appreciated.</div>
</div>
<div><br>
</div>
<div>Thank you,</div>
<div>Liam Geron</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
scikit-learn mailing list
<a class="moz-txt-link-abbreviated" href="mailto:scikit-learn@python.org">scikit-learn@python.org</a>
<a class="moz-txt-link-freetext" href="https://mail.python.org/mailman/listinfo/scikit-learn">https://mail.python.org/mailman/listinfo/scikit-learn</a>
</pre>
</blockquote>
</body>
</html>