Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
8bd0c975
Commit
8bd0c975
authored
Aug 12, 2021
by
A. Unique TensorFlower
Browse files
Add a reference for annealing task sampler.
PiperOrigin-RevId: 390359654
parent
0c2f6237
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
official/modeling/multitask/task_sampler.py
official/modeling/multitask/task_sampler.py
+4
-1
No files found.
official/modeling/multitask/task_sampler.py
View file @
8bd0c975
...
@@ -78,7 +78,10 @@ class ProportionalTaskSampler(TaskSampler):
...
@@ -78,7 +78,10 @@ class ProportionalTaskSampler(TaskSampler):
class
AnnealingTaskSampler
(
TaskSampler
):
class
AnnealingTaskSampler
(
TaskSampler
):
"""Sample tasks according to task weights as well as training progress."""
"""Sample tasks according to task weights as well as training progress.
See http://proceedings.mlr.press/v97/stickland19a/stickland19a.pdf
"""
def
__init__
(
self
,
def
__init__
(
self
,
task_weights
:
Dict
[
Text
,
Union
[
float
,
int
]],
task_weights
:
Dict
[
Text
,
Union
[
float
,
int
]],
...
...
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