<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Have you updated the project since this:</p>
    <p><img src="cid:part1.2E0DE9E1.3C0EFFAF@cgl.ucsf.edu" alt=""></p>
    <p>Since joblib is involved here as well, I'd look at that checkin.
      Joblib expects there to be a model, maybe it is just configure to
      look in the wrong place.<br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 1/25/19 10:54 AM, Liam Geron wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAJn_aE7BMvmcYCRaFhu4VjwFDzN84tobsbAxLjKvyejHdqQPhw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">
            <div dir="ltr">
              <div dir="ltr">No such luck, the file doesn't seem to
                exist. Here's the output on my local:<b> "ls:
                  /tmp/model/0001/model.joblib: No such file or
                  directory"</b></div>
              <div dir="ltr"><b><br>
                </b></div>
              <div>and <b>"/tmp/model/0001/model.joblib: cannot open
                  `/tmp/model/0001/model.joblib' (No such file or
                  directory)"</b></div>
              <div><b><br>
                </b></div>
              <div>and on the cloud shell: <b>"ls: cannot access
                  '/tmp/model/0001/model.joblib': No such file or
                  directory"</b></div>
              <div><b><br>
                </b></div>
              <div>and <b>"/bin/sh: 1: file: not found".</b></div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Fri, Jan 25, 2019 at 1:29
          PM Bill Ross <<a href="mailto:ross@cgl.ucsf.edu"
            moz-do-not-send="true">ross@cgl.ucsf.edu</a>> wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div 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="gmail-m_432801278081012026moz-cite-prefix">On
              1/25/19 9:26 AM, Liam Geron wrote:<br>
            </div>
            <blockquote type="cite">
              <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"
                        target="_blank" 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="gmail-m_432801278081012026mimeAttachmentHeader"></fieldset>
              <pre class="gmail-m_432801278081012026moz-quote-pre">_______________________________________________
scikit-learn mailing list
<a class="gmail-m_432801278081012026moz-txt-link-abbreviated" href="mailto:scikit-learn@python.org" target="_blank" moz-do-not-send="true">scikit-learn@python.org</a>
<a class="gmail-m_432801278081012026moz-txt-link-freetext" href="https://mail.python.org/mailman/listinfo/scikit-learn" target="_blank" moz-do-not-send="true">https://mail.python.org/mailman/listinfo/scikit-learn</a>
</pre>
            </blockquote>
          </div>
          _______________________________________________<br>
          scikit-learn mailing list<br>
          <a href="mailto:scikit-learn@python.org" target="_blank"
            moz-do-not-send="true">scikit-learn@python.org</a><br>
          <a
            href="https://mail.python.org/mailman/listinfo/scikit-learn"
            rel="noreferrer" target="_blank" moz-do-not-send="true">https://mail.python.org/mailman/listinfo/scikit-learn</a><br>
        </blockquote>
      </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>