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
Merge requests
!57
Something went wrong on our end
Do not force mlflow usage
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Do not force mlflow usage
train-without-mlflow
into
main
Overview
1
Commits
3
Pipelines
0
Changes
4
Merged
Yoann Schneider
requested to merge
train-without-mlflow
into
main
2 years ago
Overview
1
Commits
3
Pipelines
0
Changes
4
Expand
Closes
#29 (closed)
0
0
Merge request reports
Viewing commit
bf9cf447
Prev
Next
Show latest version
4 files
+
24
−
23
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
bf9cf447
check if mlflow is available at runtime
· bf9cf447
Yoann Schneider
authored
2 years ago
dan/manager/training.py
+
5
−
2
Options
@@ -8,7 +8,6 @@ import sys
from
datetime
import
date
from
time
import
time
import
mlflow
import
numpy
as
np
import
torch
import
torch.distributed
as
dist
@@ -22,9 +21,13 @@ from torch.utils.tensorboard import SummaryWriter
from
tqdm
import
tqdm
from
dan.manager.metrics
import
MetricManager
from
dan.mlflow
import
logging_metrics
,
logging_tags_metrics
from
dan.ocr.utils
import
LM_ind_to_str
from
dan.schedulers
import
DropoutScheduler
try
:
import
mlflow
from
dan.mlflow
import
logging_metrics
,
logging_tags_metrics
except
ImportError
:
pass
class
GenericTrainingManager
:
Loading