Packaging to v1.0.0

This commit is contained in:
Namhyuk Ahn
2018-07-30 09:51:51 +09:00
parent 786ea000e1
commit e0df04c636
4 changed files with 18 additions and 1 deletions
+4 -1
View File
@@ -1,3 +1,6 @@
__pycache__
__pycache__/
dist/
build/
torchsummaryX.egg-info/
.DS_Store
*.swp
+2
View File
@@ -2,6 +2,8 @@
Improved visualization tool of [torchsummary](https://github.com/sksq96/pytorch-summary). Here, it visualizes kernel size, output shape, # params, and Mult-Adds. Also the torchsummaryX can handle RNN, Recursive NN, or model with multiple inputs.
## Usage
`pip install torchsummaryX` and
```python
from torchsummaryX import summary
summary(your_model, torch.zeros((1, 3, 224, 224)))
+11
View File
@@ -0,0 +1,11 @@
from setuptools import setup, find_packages
setup(
name = "torchsummaryX",
version = "1.0.0",
description = "Improved visualization tool of torchsummary.",
author = "Namhyuk Ahn",
author_email = "nmhkahn@gmail.com",
url = "https://github.com/nmhkahn/torchsummaryX",
packages =["torchsummaryX"],
)
+1
View File
@@ -0,0 +1 @@
from .torchsummaryX import summary