Skip to content

Commit aa72dc7

Browse files
author
lipengbo
committed
V0.4.7.4
1 parent 27c8943 commit aa72dc7

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ pip install git+https://github.com/bobo0810/bobotools.git
1717
| ---- | ---- |
1818
| get_model_info | 获取模型信息(模型大小、计算量、参数量、前向推理耗时等) |
1919
| tensor2img | Tenso恢复为图像,方便可视化|
20+
| vis_cam | 可视化注意力图|
2021

2122

2223
### 图像(img_tools)

setup.py

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,22 @@
11
from setuptools import setup, find_packages
22
import os
3+
34
ROOT_DIR = os.path.dirname(os.path.realpath(__file__))
45

56
# f= open (os.path.join(ROOT_DIR, 'bobotools/requirements.txt'),'r')
67
# install_requires = [line.strip() for line in f.readlines()]
78
# f.close()
8-
install_requires=['pytest','tqdm','opencv-python-headless','numpy','ptflops','torch','torchvision','grad-cam','pillow']
9+
install_requires = [
10+
"pytest",
11+
"tqdm",
12+
"opencv-python-headless",
13+
"numpy",
14+
"ptflops",
15+
"torch",
16+
"torchvision",
17+
"grad-cam",
18+
"pillow",
19+
]
920

1021
setup(
1122
name="bobotools",
@@ -15,7 +26,7 @@
1526
description="bobotools",
1627
long_description=open("README.md", "r").read(),
1728
long_description_content_type="text/markdown",
18-
version="0.4.7.3", # 版本
29+
version="0.4.7.4", # 版本
1930
install_requires=install_requires,
2031
python_requires=">=3.6",
2132
include_package_data=True,

0 commit comments

Comments
 (0)