File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -134,12 +134,11 @@ import tensorflow.keras.applications.vgg16 as vgg16
134
134
tf.compat.v1.disable_eager_execution()
135
135
136
136
import innvestigate
137
- import innvestigate.utils
138
137
139
138
# Get model
140
139
model, preprocess = vgg16.VGG16(), vgg16.preprocess_input
141
140
# Strip softmax layer
142
- model = innvestigate.utils. model_wo_softmax(model)
141
+ model = innvestigate.model_wo_softmax(model)
143
142
144
143
# Create analyzer
145
144
analyzer = innvestigate.create_analyzer(" deep_taylor" , model)
Original file line number Diff line number Diff line change 9
9
poetry run sphinx-build docs/source docs/_build
10
10
```
11
11
- Update release in ` VERSION.md ` , ` setup.py ` and button of ` README.md ` .
12
- - Make release
13
- - Push master and develop branch, and tags
14
- - Switch to master branch
15
12
- Upload new packages to test server:
16
13
``` bash
17
14
poetry build
18
15
poetry config repositories.testpypi https://test.pypi.org/legacy/
19
16
poetry publish -r testpypi
20
17
```
21
- - Check that everything works
18
+ - Check that the installation from the test server works, e.g. via
19
+ ``` bash
20
+ pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple innvestigate
21
+ ```
22
+ - Tag commit according to [ Semantic Versioning] ( https://semver.org ) guidelines, e.g. ` 2.0.0 `
23
+ - Go to releases tab on GitHub and "Create a new release"
22
24
- Upload new packages to real server:
23
25
``` bash
24
26
poetry publish
You can’t perform that action at this time.
0 commit comments