question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

define requirements for notebooks

See original GitHub issue

🐛 Bug

CIFAR-10 Baseline Example Notebook is failing on importing torchvision as it is not part of the requirements files.

To Reproduce

Steps to reproduce the behaviour:

  1. Go to https://mybinder.org
  2. mybinder will start a fresh docker container with this repository and all requirements installed
  3. Start the Cifar-10-baseline example.
  4. torchvision fails to be imported

Expected behavior

Add torchvision to the requirements/default.txt

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Bordacommented, Jun 14, 2021

I think that you brought good point and I will add the extra cell, so if you use standard env you shall have it all installed and no delay… btw, do you know if mybinder.org can use your own/custom image? (thinking about #23)

0reactions
daMichaelBcommented, Jun 14, 2021

Ok i think that might be helpful to have that cell on top, thanks man! There is such a thing on mybinder.org (https://mybinder.readthedocs.io/en/latest/tutorials/dockerfile.html) but i have not tested it on my own. I only want to point out that mybinder was really helpful to debug through the code within seconds - But the downside is there is no GPU.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Generating a Requirements.txt File from a Jupyter Notebook
1. Install pipreqs, 2. Convert your notebook, 3. Use pipreqs in the folder. Pipreqs provides a simple way to generate a requirements.txt ...
Read more >
Jupyter Notebook 6.5.2 documentation - Read the Docs
A web application: a browser-based tool for interactive authoring of documents which combine explanatory text, mathematics, computations and their rich media ...
Read more >
Laptop Minimum Hardware Requirements - TechHelp@MCLA
Laptop Computers ; OS, Windows 10, Windows 10 ; Processor, Intel Core i3 or equivalent, Intel Core i5 or better* ; Memory, 4...
Read more >
Keeping a Lab Notebook
In this Webinar, we will define what a lab notebook is both practically and philosophically. We will discuss the different types of notebooks...
Read more >
Chemistry Lab Notebook Requirements - MrBeals.com
A laboratory notebook is used to explain laboratory procedures, record all laboratory data, show how calculations are made, discuss the results of an ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found