Skip to content

Commit d259c85

Browse files
committed
packaging for vasanth
1 parent 723f702 commit d259c85

14 files changed

+120
-0
lines changed

.bumpversion.cfg

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[bumpversion]
2+
current_version = 0.2.0
3+
commit = True
4+
tag = True
5+
tag_name = v{new_version}
6+
7+
[bumpversion:file:pytorch_cnn_visualizations/__init__.py]
8+

package_test.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
cd ~/code/pytorch-cnn-visualizations
2+
rm -rf dist
3+
rm -rf pytorch_cnn_visualizations.egg-info
4+
rm -rf build
5+
deactivate
6+
source venv/bin/activate
7+
python setup.py bdist_wheel
8+
deactivate
9+
virtualenv -p python3 venv_package
10+
source venv_package/bin/activate
11+
cd ..
12+
pip install pytorch-cnn-visualizations/dist/pytorch_cnn_visualizations-0.2.0-py3-none-any.whl
13+
cd ~/code/pytorch-cnn-visualizations

pytorch_cnn_visualizations/cnn_layer_visualization.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env python3
2+
13
"""
24
Created on Sat Nov 18 23:12:08 2017
35

pytorch_cnn_visualizations/deep_dream.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env python3
2+
13
"""
24
Created on Mon Nov 21 21:57:29 2017
35

pytorch_cnn_visualizations/generate_class_specific_samples.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env python3
2+
13
"""
24
Created on Thu Oct 26 14:19:44 2017
35

pytorch_cnn_visualizations/gradcam.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env python3
2+
13
"""
24
Created on Thu Oct 26 11:06:51 2017
35

pytorch_cnn_visualizations/guided_backprop.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env python3
2+
13
"""
24
Created on Thu Oct 26 11:23:47 2017
35

pytorch_cnn_visualizations/guided_gradcam.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env python3
2+
13
"""
24
Created on Thu Oct 23 11:27:15 2017
35

pytorch_cnn_visualizations/inverted_representation.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env python3
2+
13
"""
24
Created on Wed Jan 17 08:05:11 2018
35

pytorch_cnn_visualizations/layer_activation_with_guided_backprop.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env python3
2+
13
"""
24
Created on Thu Oct 26 11:23:47 2017
35

0 commit comments

Comments
 (0)