mirror of
https://github.com/wassname/torchsummaryX.git
synced 2026-06-27 16:47:38 +08:00
Packaging to v1.0.0
This commit is contained in:
+4
-1
@@ -1,3 +1,6 @@
|
|||||||
__pycache__
|
__pycache__/
|
||||||
|
dist/
|
||||||
|
build/
|
||||||
|
torchsummaryX.egg-info/
|
||||||
.DS_Store
|
.DS_Store
|
||||||
*.swp
|
*.swp
|
||||||
|
|||||||
@@ -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.
|
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
|
## Usage
|
||||||
|
`pip install torchsummaryX` and
|
||||||
|
|
||||||
```python
|
```python
|
||||||
from torchsummaryX import summary
|
from torchsummaryX import summary
|
||||||
summary(your_model, torch.zeros((1, 3, 224, 224)))
|
summary(your_model, torch.zeros((1, 3, 224, 224)))
|
||||||
|
|||||||
@@ -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"],
|
||||||
|
)
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
from .torchsummaryX import summary
|
||||||
Reference in New Issue
Block a user