Skip to content

Commit f2fbb84

Browse files
committed
Fixes to README and release instructions
1 parent e82409d commit f2fbb84

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,11 @@ import tensorflow.keras.applications.vgg16 as vgg16
134134
tf.compat.v1.disable_eager_execution()
135135

136136
import innvestigate
137-
import innvestigate.utils
138137

139138
# Get model
140139
model, preprocess = vgg16.VGG16(), vgg16.preprocess_input
141140
# Strip softmax layer
142-
model = innvestigate.utils.model_wo_softmax(model)
141+
model = innvestigate.model_wo_softmax(model)
143142

144143
# Create analyzer
145144
analyzer = innvestigate.create_analyzer("deep_taylor", model)

todo_before_release.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,18 @@
99
poetry run sphinx-build docs/source docs/_build
1010
```
1111
- 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
1512
- Upload new packages to test server:
1613
```bash
1714
poetry build
1815
poetry config repositories.testpypi https://test.pypi.org/legacy/
1916
poetry publish -r testpypi
2017
```
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"
2224
- Upload new packages to real server:
2325
```bash
2426
poetry publish

0 commit comments

Comments
 (0)