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
d7f2d79e
Commit
d7f2d79e
authored
3 years ago
by
leufen1
Browse files
Options
Downloads
Patches
Plain Diff
fix issue if checkpoint has no model
parent
a43bbba0
No related branches found
No related tags found
5 merge requests
!413
update release branch
,
!412
Resolve "release v2.0.0"
,
!361
name of pdf starts now with feature_importance, there is now also another...
,
!350
Resolve "upgrade code to TensorFlow V2"
,
!335
Resolve "upgrade code to TensorFlow V2"
Pipeline
#82171
failed
3 years ago
Stage: test
Stage: docs
Stage: pages
Stage: deploy
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
mlair/model_modules/keras_extensions.py
+1
-1
1 addition, 1 deletion
mlair/model_modules/keras_extensions.py
with
1 addition
and
1 deletion
mlair/model_modules/keras_extensions.py
+
1
−
1
View file @
d7f2d79e
...
@@ -353,7 +353,7 @@ class CallbackHandler:
...
@@ -353,7 +353,7 @@ class CallbackHandler:
for
pos
,
callback
in
enumerate
(
self
.
__callbacks
):
for
pos
,
callback
in
enumerate
(
self
.
__callbacks
):
path
=
callback
[
"
path
"
]
path
=
callback
[
"
path
"
]
clb
=
pickle
.
load
(
open
(
path
,
"
rb
"
))
clb
=
pickle
.
load
(
open
(
path
,
"
rb
"
))
if
clb
.
model
is
None
:
if
clb
.
model
is
None
and
hasattr
(
self
.
_checkpoint
,
"
model
"
)
:
clb
.
model
=
self
.
_checkpoint
.
model
clb
.
model
=
self
.
_checkpoint
.
model
self
.
_update_callback
(
pos
,
clb
)
self
.
_update_callback
(
pos
,
clb
)
...
...
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