aboutsummaryrefslogtreecommitdiff
path: root/gantools
diff options
context:
space:
mode:
Diffstat (limited to 'gantools')
-rw-r--r--gantools/biggan.py2
-rw-r--r--gantools/ganbreeder.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/gantools/biggan.py b/gantools/biggan.py
index 8a0a71d..0ed6bf7 100644
--- a/gantools/biggan.py
+++ b/gantools/biggan.py
@@ -6,7 +6,7 @@ from itertools import cycle
MODULE_PATH = 'https://tfhub.dev/deepmind/biggan-512/2'
-class BigGAN:
+class BigGAN(object):
def __init__(self, module_path=MODULE_PATH):
tf.reset_default_graph()
print('Loading BigGAN module from:', module_path)
diff --git a/gantools/ganbreeder.py b/gantools/ganbreeder.py
index 22d1adf..b55bc41 100644
--- a/gantools/ganbreeder.py
+++ b/gantools/ganbreeder.py
@@ -9,7 +9,7 @@ def login(username, password):
r.raise_for_status()
for c in r.cookies:
if c.name == 'connect.sid': # find the right cookie
- print('Session ID: '+str(c.value))
+ print('Session ID: ' + str(c.value))
return c.value
def login_auth(sid, username, password):