Skip to content
Permalink
Browse files

fix(encoder): fix bug in tf inception

  • Loading branch information...
Larryjianfeng committed Jul 26, 2019
1 parent ded92c5 commit 11dde2bf9eb5ba0a673551bf061ae56c5601c75c
Showing with 1 addition and 1 deletion.
  1. +1 −1 gnes/encoder/image/inception.py
@@ -43,7 +43,7 @@ def post_init(self):
from .inception_cores.inception_v4 import inception_v4
from .inception_cores.inception_utils import inception_arg_scope
import os
os.environ['CUDA_VISIBLE_DEVICES'] = get_first_available_gpu()
os.environ['CUDA_VISIBLE_DEVICES'] = str(get_first_available_gpu())
g = tf.Graph()
with g.as_default():
arg_scope = inception_arg_scope()

0 comments on commit 11dde2b

Please sign in to comment.
You can’t perform that action at this time.