Add files
Browse files- .gitattributes +1 -0
- README.md +24 -0
- models/hopenet_alpha1.pkl +3 -0
- models/hopenet_alpha2.pkl +3 -0
- models/hopenet_robust_alpha1.pkl +3 -0
- orig/hopenet_alpha1.pkl +3 -0
- orig/hopenet_alpha2.pkl +3 -0
- orig/hopenet_robust_alpha1.pkl +3 -0
.gitattributes
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
*.7z filter=lfs diff=lfs merge=lfs -text
|
2 |
*.arrow filter=lfs diff=lfs merge=lfs -text
|
3 |
*.bin filter=lfs diff=lfs merge=lfs -text
|
|
|
1 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
2 |
*.7z filter=lfs diff=lfs merge=lfs -text
|
3 |
*.arrow filter=lfs diff=lfs merge=lfs -text
|
4 |
*.bin filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Hopenet
|
2 |
+
|
3 |
+
- https://github.com/natanielruiz/deep-head-pose
|
4 |
+
- https://drive.google.com/file/d/1EJPu2sOAwrfuamTitTkw2xJ2ipmMsmD3/view
|
5 |
+
- https://drive.google.com/file/d/16OZdRULgUpceMKZV6U9PNFiigfjezsCY/view
|
6 |
+
- https://drive.google.com/file/d/1m25PrSE7g9D2q2XJVMR6IA7RaCvWSzCR/view
|
7 |
+
|
8 |
+
## Note
|
9 |
+
|
10 |
+
```python
|
11 |
+
import pathlib
|
12 |
+
|
13 |
+
import torch
|
14 |
+
|
15 |
+
paths = sorted(pathlib.Path('orig').glob('*'))
|
16 |
+
|
17 |
+
out_dir = pathlib.Path('models')
|
18 |
+
out_dir.mkdir(exist_ok=True)
|
19 |
+
|
20 |
+
for path in paths:
|
21 |
+
ckpt = torch.load(path, map_location='cpu')
|
22 |
+
torch.save(ckpt, out_dir / path.name)
|
23 |
+
```
|
24 |
+
|
models/hopenet_alpha1.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e202b9a239017da3e1206e31fd32c392787149ba3c8e95318b7378bab92799b1
|
3 |
+
size 95972383
|
models/hopenet_alpha2.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6b63337ca1969bd43627abfa0ba54b50ea0724b6ec0716dac71e6bcf4917fedf
|
3 |
+
size 95972383
|
models/hopenet_robust_alpha1.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8bdbf401f65f0904cf92bc2d97575cb49dbb82414629e6622a8925ba96d8b456
|
3 |
+
size 95972383
|
orig/hopenet_alpha1.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:254710722f1ec7a9660182111390a42849aa236337ccd814320c60e6a75709db
|
3 |
+
size 95924797
|
orig/hopenet_alpha2.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fc2c1122f25c66f37ef90677fcf6b926c22850bc4998205a602d8ecedee0a7ff
|
3 |
+
size 95924805
|
orig/hopenet_robust_alpha1.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1e0c6ddfda0e19a679607480c10875020de29b3984f187ec311c5e0802b6b6d5
|
3 |
+
size 95924799
|