Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
DAN
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Container Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Automatic Text Recognition
DAN
Commits
748430f5
Commit
748430f5
authored
1 year ago
by
Yoann Schneider
Committed by
Mélodie Boillet
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Remove curriculum code
parent
2c63c01c
No related branches found
No related tags found
1 merge request
!234
Remove curriculum code
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dan/manager/training.py
+0
-9
0 additions, 9 deletions
dan/manager/training.py
with
0 additions
and
9 deletions
dan/manager/training.py
+
0
−
9
View file @
748430f5
...
@@ -600,12 +600,6 @@ class GenericTrainingManager:
...
@@ -600,12 +600,6 @@ class GenericTrainingManager:
metric_names
=
self
.
params
[
"
training_params
"
][
"
train_metrics
"
]
metric_names
=
self
.
params
[
"
training_params
"
][
"
train_metrics
"
]
display_values
=
None
display_values
=
None
# init curriculum learning
if
(
"
curriculum_learning
"
in
self
.
params
[
"
training_params
"
].
keys
()
and
self
.
params
[
"
training_params
"
][
"
curriculum_learning
"
]
):
self
.
init_curriculum
()
# perform epochs
# perform epochs
for
num_epoch
in
range
(
self
.
latest_epoch
+
1
,
nb_epochs
):
for
num_epoch
in
range
(
self
.
latest_epoch
+
1
,
nb_epochs
):
# set models trainable
# set models trainable
...
@@ -925,9 +919,6 @@ class GenericTrainingManager:
...
@@ -925,9 +919,6 @@ class GenericTrainingManager:
def
evaluate_batch
(
self
,
batch_data
,
metric_names
):
def
evaluate_batch
(
self
,
batch_data
,
metric_names
):
raise
NotImplementedError
raise
NotImplementedError
def
init_curriculum
(
self
):
raise
NotImplementedError
def
load_save_info
(
self
,
info_dict
):
def
load_save_info
(
self
,
info_dict
):
"""
"""
Load curriculum info from saved model info
Load curriculum info from saved model info
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment