Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.bio.face
Commits
ceb6a18c
Commit
ceb6a18c
authored
Nov 19, 2020
by
Amir MOHAMMADI
Browse files
use http urls for the CI
parent
6e029fd4
Changes
2
Hide whitespace changes
Inline
Side-by-side
bob/bio/face/embeddings/mxnet_models.py
View file @
ceb6a18c
...
...
@@ -14,7 +14,7 @@ from bob.extension import rc
class
ArcFaceInsightFace
(
TransformerMixin
,
BaseEstimator
):
"""
ArcFace from Insight Face.
Model and source code taken from the repository
https://github.com/deepinsight/insightface/blob/master/python-package/insightface/model_zoo/face_recognition.py
...
...
@@ -37,7 +37,8 @@ class ArcFaceInsightFace(TransformerMixin, BaseEstimator):
)
urls
=
[
"https://www.idiap.ch/software/bob/data/bob/bob.bio.face/master/mxnet/arcface_r100_v1_mxnet.tar.gz"
"https://www.idiap.ch/software/bob/data/bob/bob.bio.face/master/mxnet/arcface_r100_v1_mxnet.tar.gz"
,
"http://www.idiap.ch/software/bob/data/bob/bob.bio.face/master/mxnet/arcface_r100_v1_mxnet.tar.gz"
]
download_model
(
checkpoint_path
,
urls
,
"arcface_r100_v1_mxnet.tar.gz"
)
...
...
bob/bio/face/embeddings/tf2_inception_resnet.py
View file @
ceb6a18c
...
...
@@ -31,7 +31,7 @@ class InceptionResnet(TransformerMixin, BaseEstimator):
checkpoint_path: str
Path containing the checkpoint
preprocessor:
preprocessor:
Preprocessor function
"""
...
...
@@ -99,7 +99,8 @@ class InceptionResnetv2_MsCeleb_CenterLoss_2018(InceptionResnet):
)
urls
=
[
"https://www.idiap.ch/software/bob/data/bob/bob.bio.face/master/tf2/inceptionresnetv2_msceleb_centerloss_2018.tar.gz"
"https://www.idiap.ch/software/bob/data/bob/bob.bio.face/master/tf2/inceptionresnetv2_msceleb_centerloss_2018.tar.gz"
,
"http://www.idiap.ch/software/bob/data/bob/bob.bio.face/master/tf2/inceptionresnetv2_msceleb_centerloss_2018.tar.gz"
]
download_model
(
...
...
@@ -131,7 +132,8 @@ class InceptionResnetv2_Casia_CenterLoss_2018(InceptionResnet):
)
urls
=
[
"https://www.idiap.ch/software/bob/data/bob/bob.bio.face/master/tf2/inceptionresnetv2_casia_centerloss_2018.tar.gz"
"https://www.idiap.ch/software/bob/data/bob/bob.bio.face/master/tf2/inceptionresnetv2_casia_centerloss_2018.tar.gz"
,
"http://www.idiap.ch/software/bob/data/bob/bob.bio.face/master/tf2/inceptionresnetv2_casia_centerloss_2018.tar.gz"
]
download_model
(
...
...
@@ -163,7 +165,8 @@ class InceptionResnetv1_Casia_CenterLoss_2018(InceptionResnet):
)
urls
=
[
"https://www.idiap.ch/software/bob/data/bob/bob.bio.face/master/tf2/inceptionresnetv1_casia_centerloss_2018.tar.gz"
"https://www.idiap.ch/software/bob/data/bob/bob.bio.face/master/tf2/inceptionresnetv1_casia_centerloss_2018.tar.gz"
,
"http://www.idiap.ch/software/bob/data/bob/bob.bio.face/master/tf2/inceptionresnetv1_casia_centerloss_2018.tar.gz"
]
download_model
(
...
...
@@ -196,7 +199,8 @@ class InceptionResnetv1_MsCeleb_CenterLoss_2018(InceptionResnet):
)
urls
=
[
"https://www.idiap.ch/software/bob/data/bob/bob.bio.face/master/tf2/inceptionresnetv1_msceleb_centerloss_2018.tar.gz"
"https://www.idiap.ch/software/bob/data/bob/bob.bio.face/master/tf2/inceptionresnetv1_msceleb_centerloss_2018.tar.gz"
,
"http://www.idiap.ch/software/bob/data/bob/bob.bio.face/master/tf2/inceptionresnetv1_msceleb_centerloss_2018.tar.gz"
]
download_model
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment