Closed chenzhekl closed 5 years ago
It seems
if arg_scope([get_variable_ddi], trainable=trainable):
should be
with arg_scope([get_variable_ddi], trainable=trainable):
https://github.com/openai/glow/blob/654ddd0ddd976526824455074aa1eaaa92d095d8/tfops.py#L72
@chenzhekl That's indeed a typo. It doesn't affect the experiments; we never use trainable=False, and it's True by default.
It seems
if arg_scope([get_variable_ddi], trainable=trainable):
should be
with arg_scope([get_variable_ddi], trainable=trainable):
https://github.com/openai/glow/blob/654ddd0ddd976526824455074aa1eaaa92d095d8/tfops.py#L72