File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 98
98
Before you get started, you need to have a Python environment with:
99
99
100
100
- Python version 3.6 or higher
101
- - For the Captum Insights example, Flask 1.1 or higher
101
+ - For the Captum Insights example, Flask 1.1 or higher and Flask-Compress
102
+ (the latest version is recommended)
102
103
- PyTorch version 1.2 or higher (the latest version is recommended)
103
104
- TorchVision version 0.6 or higher (the latest version is recommended)
104
105
- Captum (the latest version is recommended)
106
+ - Matplotlib version 3.3.4, since Captum currently uses a Matplotlib
107
+ function whose arguments have been renamed in later versions
105
108
106
109
To install Captum in an Anaconda or pip virtual environment, use the
107
110
appropriate command for your environment below:
108
111
109
112
With ``conda``::
110
113
111
- conda install pytorch torchvision captum -c pytorch
114
+ conda install pytorch torchvision captum flask-compress matplotlib=3.3.4 -c pytorch
112
115
113
116
With ``pip``::
114
117
115
- pip install torch torchvision captum
118
+ pip install torch torchvision captum matplotlib==3.3.4 Flask-Compress
116
119
117
120
Restart this notebook in the environment you set up, and you’re ready to
118
121
go!
You can’t perform that action at this time.
0 commit comments