Skip to content

Commit ec2ead2

Browse files
authored
Merge pull request #26 from DefTruth/dev
feat(PIPNet): add PIPNet to torchlm (#26)
2 parents 9c171d7 + 7f8b0d8 commit ec2ead2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+2176
-59
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ debug.py
55
build
66
dist
77
torchlm.egg-info
8-
*.sh
8+
*.sh
9+
pretrained

MANIFEST.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
recursive-include torchlm/transforms/assets *.jpg
1+
recursive-include torchlm/transforms/assets *.jpg
2+
recursive-include torchlm/tools/assets *.pth *.onnx

hubconf.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Optional list of dependencies required by the package
2+
dependencies = ["torch", "torchvision"]
3+
4+
from torchlm.models import (
5+
pipnet_resnet18_10x68x32x256_300w,
6+
pipnet_resnet101_10x68x32x256_300w,
7+
pipnet_resnet18_10x19x32x256_aflw,
8+
pipnet_resnet101_10x19x32x256_aflw,
9+
pipnet_resnet18_10x29x32x256_cofw,
10+
pipnet_resnet101_10x29x32x256_cofw,
11+
pipnet_resnet18_10x98x32x256_wflw,
12+
pipnet_resnet101_10x98x32x256_wflw
13+
)

requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@ numpy>=1.14.4
44
torch>=1.6.0
55
torchvision>=0.9.0
66
albumentations>=1.1.0
7+
onnx>=1.8.0
8+
onnxruntime>=1.7.0
9+
tqdm>=4.60.0

setup.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def get_long_description():
1414

1515
setuptools.setup(
1616
name="torchlm",
17-
version="0.1.5",
17+
version="0.1.6",
1818
author="DefTruth",
1919
author_email="qyjdef@163.com",
2020
description="A PyTorch landmarks-only library with 100+ data augmentations, "
@@ -28,8 +28,11 @@ def get_long_description():
2828
"opencv-python-headless>=4.5.2",
2929
"numpy>=1.14.4",
3030
"torch>=1.6.0",
31-
"torchvision>=0.9.0",
32-
"albumentations>=1.1.0"
31+
"torchvision>=0.8.0",
32+
"albumentations>=1.1.0",
33+
"onnx>=1.8.0",
34+
"onnxruntime>=1.7.0",
35+
"tqdm>=4.60.0"
3336
],
3437
classifiers=[
3538
"Programming Language :: Python :: 3",

test/.gitigore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
debug.py
2-
.DS_Store
2+
.DS_Store
3+
pretrained
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)