Skip to content Skip to sidebar Skip to footer

Installing Cleverhans On Colaboratory

I am trying to install cleverhans (https://github.com/tensorflow/cleverhans) I am running the following command !pip install -q -e git+http://github.com/tensorflow/cleverhans.git#e

Solution 1:

It looks like the installation doesn't properly update the python path. Here's a snippet that worked for me:

!pip install -qq -e git+http://github.com/tensorflow/cleverhans.git#egg=cleverhans
import sys
sys.path.append('/content/src/cleverhans')
import cleverhans

Post a Comment for "Installing Cleverhans On Colaboratory"