Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
18e5ce8d
Commit
18e5ce8d
authored
May 22, 2017
by
Damien Vincent
Browse files
Remove names in TODO.
parent
120b1fb6
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
4 deletions
+2
-4
compression/entropy_coder/core/code_loader.py
compression/entropy_coder/core/code_loader.py
+1
-1
compression/entropy_coder/lib/blocks_std.py
compression/entropy_coder/lib/blocks_std.py
+0
-1
compression/entropy_coder/lib/blocks_std_test.py
compression/entropy_coder/lib/blocks_std_test.py
+0
-1
compression/entropy_coder/model/entropy_coder_model.py
compression/entropy_coder/model/entropy_coder_model.py
+1
-1
No files found.
compression/entropy_coder/core/code_loader.py
View file @
18e5ce8d
...
...
@@ -39,7 +39,7 @@ def LoadBinaryCode(input_config, batch_size):
"""
data
=
input_config
.
data
# TODO
(damienv)
: Possibly use multiple files (instead of just one).
# TODO: Possibly use multiple files (instead of just one).
file_list
=
[
data
]
filename_queue
=
tf
.
train
.
string_input_producer
(
file_list
,
capacity
=
4
)
...
...
compression/entropy_coder/lib/blocks_std.py
View file @
18e5ce8d
...
...
@@ -222,7 +222,6 @@ class NN(block_base.BlockBase):
self
.
_bias
=
BiasAdd
(
bias
)
if
bias
else
PassThrough
()
self
.
_act
=
act
if
act
else
PassThrough
()
# TODO(sjhwang): Stop using **kwargs, if we ever switch to python3.
def
_Apply
(
self
,
*
args
):
if
not
self
.
_matrices
:
self
.
_matrices
=
[
...
...
compression/entropy_coder/lib/blocks_std_test.py
View file @
18e5ce8d
...
...
@@ -136,7 +136,6 @@ class BlocksStdTest(tf.test.TestCase):
def
testLinearShared
(
self
):
# Create a linear map which is applied twice on different inputs
# (i.e. the weights of the map are shared).
# TODO(sjhwang): Make this test deterministic.
linear_map
=
blocks_std
.
Linear
(
6
)
x1
=
tf
.
random_normal
(
shape
=
[
1
,
5
])
x2
=
tf
.
random_normal
(
shape
=
[
1
,
5
])
...
...
compression/entropy_coder/model/entropy_coder_model.py
View file @
18e5ce8d
...
...
@@ -43,7 +43,7 @@ class EntropyCoderModel(object):
corresponding to the codes to compress.
The input codes are {-1, +1} codes.
"""
# TODO
(damienv)
:
# TODO:
# - consider switching to {0, 1} codes.
# - consider passing an extra tensor which gives for each (b, y, x)
# what is the actual depth (which would allow to use more or less bits
...
...
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