Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
LBN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
1
Merge Requests
1
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
3pia
LBN
Commits
d51237a4
Commit
d51237a4
authored
Mar 01, 2019
by
Marcel Rieger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix error message for wrong batch norm arguments.
parent
5955732a
Pipeline
#109678
failed with stages
in 1 minute and 41 seconds
Changes
1
Pipelines
7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lbn.py
lbn.py
+1
-1
No files found.
lbn.py
View file @
d51237a4
...
...
@@ -117,7 +117,7 @@ class LBN(object):
elif
isinstance
(
batch_norm
,
(
list
,
tuple
))
and
len
(
batch_norm
)
==
2
:
self
.
batch_norm_center
,
self
.
batch_norm_scale
=
batch_norm
else
:
raise
ValueError
(
"invalid batch_norm, should be bool
and
list/tuple of two bools"
)
raise
ValueError
(
"invalid batch_norm, should be bool
or
list/tuple of two bools"
)
# particle weights and settings
self
.
particle_weights
=
particle_weights
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment