<div dir="ltr">As in updated the sklearn module or the joblib module? I'm currently running sklearn on 0.19.1 and joblib on 0.13.1. Do I need to be running them on a specific version?</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 25, 2019 at 2:35 PM Bill Ross <<a href="mailto:ross@cgl.ucsf.edu">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>Have you updated the project since this:</p>
    <p><img src="cid:168869bd90565913b161" 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="gmail-m_-5960735214419089715moz-cite-prefix">On 1/25/19 10:54 AM, Liam Geron wrote:<br>
    </div>
    <blockquote type="cite">
      
      <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-m_-5960735214419089715gmail_attr">On Fri, Jan 25, 2019 at 1:29
          PM Bill Ross <<a href="mailto:ross@cgl.ucsf.edu" target="_blank">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_-5960735214419089715gmail-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">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_-5960735214419089715gmail-m_432801278081012026mimeAttachmentHeader"></fieldset>
              <pre class="gmail-m_-5960735214419089715gmail-m_432801278081012026moz-quote-pre">_______________________________________________
scikit-learn mailing list
<a class="gmail-m_-5960735214419089715gmail-m_432801278081012026moz-txt-link-abbreviated" href="mailto:scikit-learn@python.org" target="_blank">scikit-learn@python.org</a>
<a class="gmail-m_-5960735214419089715gmail-m_432801278081012026moz-txt-link-freetext" href="https://mail.python.org/mailman/listinfo/scikit-learn" target="_blank">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">scikit-learn@python.org</a><br>
          <a href="https://mail.python.org/mailman/listinfo/scikit-learn" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/scikit-learn</a><br>
        </blockquote>
      </div>
      <br>
      <fieldset class="gmail-m_-5960735214419089715mimeAttachmentHeader"></fieldset>
      <pre class="gmail-m_-5960735214419089715moz-quote-pre">_______________________________________________
scikit-learn mailing list
<a class="gmail-m_-5960735214419089715moz-txt-link-abbreviated" href="mailto:scikit-learn@python.org" target="_blank">scikit-learn@python.org</a>
<a class="gmail-m_-5960735214419089715moz-txt-link-freetext" href="https://mail.python.org/mailman/listinfo/scikit-learn" target="_blank">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">scikit-learn@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/scikit-learn" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/scikit-learn</a><br>
</blockquote></div>