Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mhc_rank
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Patrick Skillman-Lawrence
mhc_rank
Commits
bc1ace7a
Commit
bc1ace7a
authored
7 years ago
by
Tim O'Donnell
Browse files
Options
Downloads
Patches
Plain Diff
spacing
parent
a7eacc51
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mhcflurry/class1_neural_network.py
+0
-1
0 additions, 1 deletion
mhcflurry/class1_neural_network.py
with
0 additions
and
1 deletion
mhcflurry/class1_neural_network.py
+
0
−
1
View file @
bc1ace7a
...
@@ -215,7 +215,6 @@ class Class1NeuralNetwork(object):
...
@@ -215,7 +215,6 @@ class Class1NeuralNetwork(object):
network
.
set_weights
(
network_weights
)
network
.
set_weights
(
network_weights
)
klass
.
KERAS_MODELS_CACHE
[
key
]
=
(
network
,
network_weights
)
klass
.
KERAS_MODELS_CACHE
[
key
]
=
(
network
,
network_weights
)
# As an added safety check we overwrite the fit method on the returned
# As an added safety check we overwrite the fit method on the returned
# model to throw an error if it is called.
# model to throw an error if it is called.
def
throw
(
*
args
,
**
kwargs
):
def
throw
(
*
args
,
**
kwargs
):
...
...
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