소스 검색

Merge pull request #722 from cshallue/master

Update GraphKeys.VARIABLES to GraphKeys.GLOBAL_VARIABLES.
Chris Shallue 9 년 전
부모
커밋
821d3da7b4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      im2txt/im2txt/show_and_tell_model.py

+ 1 - 1
im2txt/im2txt/show_and_tell_model.py

@@ -343,7 +343,7 @@ class ShowAndTellModel(object):
         initial_value=0,
         name="global_step",
         trainable=False,
-        collections=[tf.GraphKeys.GLOBAL_STEP, tf.GraphKeys.VARIABLES])
+        collections=[tf.GraphKeys.GLOBAL_STEP, tf.GraphKeys.GLOBAL_VARIABLES])
 
     self.global_step = global_step