Colab

Anudha Mittal
Jun 18, 2024

--

Colab pip installs in a default dir where modifications aren’t allowed.

copy the pip installed pkg to the local dir using:

!cp -r /usr/local/lib/python3.10/dist-packages/basicsr /content

then modify.

import will import from this local dir first so the modified funciton can be used. not sure what determines the order of import for a pkg.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

No responses yet

Write a response