Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
seminar-breakout
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shashank Suhas
seminar-breakout
Commits
aa673e97
Commit
aa673e97
authored
Mar 02, 2017
by
Yuxin Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bump TF required version
parent
3f9fa67f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
README.md
README.md
+1
-1
tensorpack/models/batch_norm.py
tensorpack/models/batch_norm.py
+2
-0
No files found.
README.md
View file @
aa673e97
...
...
@@ -62,7 +62,7 @@ You can also define your own trainer for non-standard training (e.g. GAN).
Dependencies:
+
Python 2 or 3
+
TensorFlow >= 1.0.0
rc1
+
TensorFlow >= 1.0.0
+
Python bindings for OpenCV
```
pip install --user -U git+https://github.com/ppwwyyxx/tensorpack.git
...
...
tensorpack/models/batch_norm.py
View file @
aa673e97
...
...
@@ -124,6 +124,8 @@ def update_bn_ema(xn, batch_mean, batch_var, moving_mean, moving_var, decay):
name
=
'var_ema_op'
)
add_model_variable
(
moving_mean
)
add_model_variable
(
moving_var
)
# seems faster than delayed update, but might behave otherwise in distributed settings.
with
tf
.
control_dependencies
([
update_op1
,
update_op2
]):
return
tf
.
identity
(
xn
,
name
=
'output'
)
...
...
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