-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed gradient checkpoint added TODO updated README.md
- Loading branch information
1 parent
7865494
commit 93e2886
Showing
18 changed files
with
266 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
from easydict import EasyDict as edict | ||
|
||
# make training faster | ||
# our RAM is 256G | ||
# mount -t tmpfs -o size=140G tmpfs /train_tmp | ||
|
||
config = edict() | ||
config.margin_list = (1.0, 0.0, 0.4) | ||
config.network = "r50" | ||
config.resume = False | ||
config.output = None | ||
config.embedding_size = 512 | ||
config.sample_rate = 1.0 | ||
config.fp16 = True | ||
config.momentum = 0.9 | ||
config.weight_decay = 1e-4 | ||
config.batch_size = 128 | ||
config.lr = 0.1 | ||
config.verbose = 2000 | ||
config.dali = False | ||
|
||
config.rec = "/train_tmp/glint360k" | ||
config.num_classes = 360232 | ||
config.num_image = 17091657 | ||
config.num_epoch = 20 | ||
config.warmup_epoch = 0 | ||
config.val_targets = ['lfw', 'cfp_fp', "agedb_30"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
from easydict import EasyDict as edict | ||
|
||
# make training faster | ||
# our RAM is 256G | ||
# mount -t tmpfs -o size=140G tmpfs /train_tmp | ||
|
||
config = edict() | ||
config.margin_list = (1.0, 0.5, 0.0) | ||
config.network = "mbf" | ||
config.resume = False | ||
config.output = None | ||
config.embedding_size = 512 | ||
config.sample_rate = 1.0 | ||
config.fp16 = True | ||
config.momentum = 0.9 | ||
config.weight_decay = 1e-4 | ||
config.batch_size = 128 | ||
config.lr = 0.1 | ||
config.verbose = 2000 | ||
config.dali = False | ||
|
||
config.rec = "/train_tmp/faces_emore" | ||
config.num_classes = 85742 | ||
config.num_image = 5822653 | ||
config.num_epoch = 40 | ||
config.warmup_epoch = 0 | ||
config.val_targets = ['lfw', 'cfp_fp', "agedb_30"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
from easydict import EasyDict as edict | ||
|
||
# make training faster | ||
# our RAM is 256G | ||
# mount -t tmpfs -o size=140G tmpfs /train_tmp | ||
|
||
config = edict() | ||
config.margin_list = (1.0, 0.5, 0.0) | ||
config.network = "r100" | ||
config.resume = False | ||
config.output = None | ||
config.embedding_size = 512 | ||
config.sample_rate = 1.0 | ||
config.fp16 = True | ||
config.momentum = 0.9 | ||
config.weight_decay = 1e-4 | ||
config.batch_size = 128 | ||
config.lr = 0.1 | ||
config.verbose = 2000 | ||
config.dali = False | ||
|
||
config.rec = "/train_tmp/faces_emore" | ||
config.num_classes = 85742 | ||
config.num_image = 5822653 | ||
config.num_epoch = 20 | ||
config.warmup_epoch = 0 | ||
config.val_targets = ['lfw', 'cfp_fp', "agedb_30"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
from easydict import EasyDict as edict | ||
|
||
# make training faster | ||
# our RAM is 256G | ||
# mount -t tmpfs -o size=140G tmpfs /train_tmp | ||
|
||
config = edict() | ||
config.margin_list = (1.0, 0.5, 0.0) | ||
config.network = "r50" | ||
config.resume = False | ||
config.output = None | ||
config.embedding_size = 512 | ||
config.sample_rate = 1.0 | ||
config.fp16 = True | ||
config.momentum = 0.9 | ||
config.weight_decay = 1e-4 | ||
config.batch_size = 128 | ||
config.lr = 0.1 | ||
config.verbose = 2000 | ||
config.dali = False | ||
|
||
config.rec = "/train_tmp/faces_emore" | ||
config.num_classes = 85742 | ||
config.num_image = 5822653 | ||
config.num_epoch = 20 | ||
config.warmup_epoch = 0 | ||
config.val_targets = ['lfw', 'cfp_fp', "agedb_30"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
from easydict import EasyDict as edict | ||
|
||
# make training faster | ||
# our RAM is 256G | ||
# mount -t tmpfs -o size=140G tmpfs /train_tmp | ||
|
||
config = edict() | ||
config.margin_list = (1.0, 0.0, 0.4) | ||
config.network = "r100" | ||
config.resume = False | ||
config.output = None | ||
config.embedding_size = 512 | ||
config.sample_rate = 0.2 | ||
config.fp16 = True | ||
config.momentum = 0.9 | ||
config.weight_decay = 5e-4 | ||
config.batch_size = 128 | ||
config.lr = 0.1 | ||
config.verbose = 10000 | ||
config.dali = False | ||
|
||
config.rec = "/train_tmp/WebFace42M" | ||
config.num_classes = 2059906 | ||
config.num_image = 42474557 | ||
config.num_epoch = 20 | ||
config.warmup_epoch = 0 | ||
config.val_targets = ['lfw', 'cfp_fp', "agedb_30"] |
27 changes: 27 additions & 0 deletions
27
recognition/arcface_torch/configs/wf42m_pfc02_r100_16gpus.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
from easydict import EasyDict as edict | ||
|
||
# make training faster | ||
# our RAM is 256G | ||
# mount -t tmpfs -o size=140G tmpfs /train_tmp | ||
|
||
config = edict() | ||
config.margin_list = (1.0, 0.0, 0.4) | ||
config.network = "r100" | ||
config.resume = False | ||
config.output = None | ||
config.embedding_size = 512 | ||
config.sample_rate = 0.2 | ||
config.fp16 = True | ||
config.momentum = 0.9 | ||
config.weight_decay = 5e-4 | ||
config.batch_size = 128 | ||
config.lr = 0.2 | ||
config.verbose = 10000 | ||
config.dali = False | ||
|
||
config.rec = "/train_tmp/WebFace42M" | ||
config.num_classes = 2059906 | ||
config.num_image = 42474557 | ||
config.num_epoch = 20 | ||
config.warmup_epoch = config.num_epoch // 10 | ||
config.val_targets = ['lfw', 'cfp_fp', "agedb_30"] |
Oops, something went wrong.