Skip to main content

Blog

Learn About Our Meetup

5000+ Members

MEETUPS

LEARN, CONNECT, SHARE

Join our meetup, learn, connect, share, and get to know your Toronto AI community. 

JOB POSTINGS

INDEED POSTINGS

Browse through the latest deep learning, ai, machine learning postings from Indeed for the GTA.

CONTACT

CONNECT WITH US

Are you looking to sponsor space, be a speaker, or volunteer, feel free to give us a shout.

[D] Efficient workflow with colab/jupyter?

I’m struggeling how to efficiently use Google’s colab facility.

My normal workflow is:

  1. Fiddle around in JupyterLab untill I have some result.
  2. Move code into standalone .py libraries, clean-up the JupyterLab notebook to call the library functions.
  3. Create testcases that test the standalone .py libraries, refactor code more.

This tandem between Jupyter and a traditional .py IDE helps to get code that is clean and testable. My notebooks tend to be messy, they aren’t unit-tested and might not work anymore in the future.

This doesn’t work that well with Google colab – it’s not that easy to move code to libraries and have it available in Google colab. But I would like to use the computing power that comes with colab.

What is your workflow with colab?

submitted by /u/zuuuhkrit
[link] [comments]