mirror of
https://github.com/wassname/torchsummaryX.git
synced 2026-06-27 15:17:36 +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
|
||||
*.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.
|
||||
|
||||
## Usage
|
||||
`pip install torchsummaryX` and
|
||||
|
||||
```python
|
||||
from torchsummaryX import summary
|
||||
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