Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MLAir
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
esde
machine-learning
MLAir
Commits
2baf1350
Commit
2baf1350
authored
3 years ago
by
leufen1
Browse files
Options
Downloads
Patches
Plain Diff
changes in run_environment have not been included
parent
942d4257
No related branches found
No related tags found
5 merge requests
!430
update recent developments
,
!413
update release branch
,
!412
Resolve "release v2.0.0"
,
!394
Develop
,
!393
Resolve "set logging print mode"
Pipeline
#92855
passed
3 years ago
Stage: test
Stage: docs
Stage: pages
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mlair/run_modules/run_environment.py
+2
-2
2 additions, 2 deletions
mlair/run_modules/run_environment.py
with
2 additions
and
2 deletions
mlair/run_modules/run_environment.py
+
2
−
2
View file @
2baf1350
...
...
@@ -92,12 +92,12 @@ class RunEnvironment(object):
logger
=
None
tracker_list
=
[]
def
__init__
(
self
,
name
=
None
):
def
__init__
(
self
,
name
=
None
,
log_level_stream
=
None
):
"""
Start time tracking automatically and logs as info.
"""
if
RunEnvironment
.
data_store
is
None
:
RunEnvironment
.
data_store
=
DataStoreObject
()
if
RunEnvironment
.
logger
is
None
:
RunEnvironment
.
logger
=
Logger
()
RunEnvironment
.
logger
=
Logger
(
level_stream
=
log_level_stream
)
self
.
_name
=
name
if
name
is
not
None
else
self
.
__class__
.
__name__
self
.
time
=
TimeTracking
(
name
=
name
)
logging
.
info
(
f
"
{
self
.
_name
}
started
"
)
...
...
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