Code Monkey home page Code Monkey logo

Comments (4)

chrisdonahue avatar chrisdonahue commented on July 17, 2024

Could you elaborate a bit? What's the issue specifically?

Likely you need to pip install -e . the ilm package such that it can be recognized in your Jupyter notebook

from ilm.

BigSalmon2 avatar BigSalmon2 commented on July 17, 2024

Thank you for your quick response. I should mention that I am actually using a Google Colab Notebook. I am sorry for the lack of clarity.

Upon running this, I get the error message:

if MODEL_DIR is None:
    !wget -nc --load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id=1oYFLxkX6mWbmpEwQH8BmgE7iKix2W0zU' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')&id=1oYFLxkX6mWbmpEwQH8BmgE7iKix2W0zU" -O /tmp/ilm/eval_repro/models/sto_ilm/pytorch_model.bin && rm -rf /tmp/cookies.txt
    !wget -nc --no-check-certificate 'https://docs.google.com/uc?export=download&id=15JnXi7L6LeEB2fq4dFK2WRvDKyX46hVi' -O /tmp/ilm/eval_repro/models/sto_ilm/config.json
    MODEL_DIR = '/tmp/ilm/eval_repro/models/sto_ilm'`

/tmp/ilm/eval_repro/models/sto_ilm/pytorch_model.bin: No such file or directory, /tmp/ilm/eval_repro/models/sto_ilm/config.json: No such file or directory

It seems that "!wget" is not working, but I am not so sure how I can fix that.

from ilm.

chrisdonahue avatar chrisdonahue commented on July 17, 2024

Thanks for bringing this to our attention! I made a Google Colab-friendly version of the inference notebook. Note that you may have to restart your runtime after installing the dependencies

https://colab.research.google.com/drive/1So95M0hHefyNm_eELglCna_ZayoDX6KV?usp=sharing

Does this fix the issue you were having?

from ilm.

BigSalmon2 avatar BigSalmon2 commented on July 17, 2024

Thank you so much. That fixed everything!

from ilm.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.