mirror of
https://github.com/maciej3031/comixify.git
synced 2026-03-11 08:54:35 +00:00
Add minor fix with GPU name
This commit is contained in:
parent
258eab15f9
commit
fb24d4b156
1 changed files with 1 additions and 1 deletions
|
|
@ -17,6 +17,6 @@ class ComixGAN:
|
|||
config.gpu_options.allow_growth = True
|
||||
self.session = tf.Session(graph=self.graph, config=config)
|
||||
with self.graph.as_default():
|
||||
with tf.device('/GPU:0'):
|
||||
with tf.device('/device:GPU:0'):
|
||||
self.model = load_model(settings.COMIX_GAN_MODEL_PATH,
|
||||
custom_objects={'InstanceNormalization': InstanceNormalization})
|
||||
|
|
|
|||
Loading…
Reference in a new issue