diff options
author | Vee9ahd1 <[email protected]> | 2019-06-03 12:18:17 -0400 |
---|---|---|
committer | Vee9ahd1 <[email protected]> | 2019-06-03 12:18:17 -0400 |
commit | 0e697e0047ab1818a20864a7158284e33330ec81 (patch) | |
tree | d4e312b5236e751ba40e65ea695ffacafaa5eb54 /gantools | |
parent | 69eb6678fc1c61fdb77f84f25f29ba9f777cd3dd (diff) |
minor style cleanup (needs more)
Diffstat (limited to 'gantools')
-rw-r--r-- | gantools/biggan.py | 2 | ||||
-rw-r--r-- | gantools/ganbreeder.py | 2 |
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): |