Last active
June 28, 2023 09:47
-
-
Save ayorgo/3c2af50c2885b1b81b66c41603f461b2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Interesting way of calling pip from inside python | |
# Source: https://colab.research.google.com/github/cleanlab/cleanlab-docs/blob/master/v2.4.0/tutorials/datalab/tabular.ipynb | |
if "google.colab" in str(get_ipython()): # Check if it's running in Google Colab | |
%pip install cleanlab==v2.4.0 | |
cmd = ' '.join([dep for dep in dependencies if dep != "cleanlab"]) | |
%pip install $cmd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment