summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-05-21 03:20:40 +0200
committerJules Laplace <julescarbon@gmail.com>2018-05-21 03:20:40 +0200
commitf7f8c6a9a3e889a757148fe6000cb06192bdc731 (patch)
treea6112acb8d7b23f5cbb89cbae1adcafaafc6da3f
parent89759f8fd3e29509db9a637af4b31ac078ebed46 (diff)
parenta0a6e7f882e151b96b407fa9b47fa5bd5cb0ab76 (diff)
un rato
-rw-r--r--live-mogrify.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/live-mogrify.py b/live-mogrify.py
index 64031e0..7464846 100644
--- a/live-mogrify.py
+++ b/live-mogrify.py
@@ -120,10 +120,6 @@ def listen():
def set_data_opt(key, value):
data_opt[key] = value
def get_opts():
- # args_hash = {}
- # args = vars(self.opt)
- # for k, v in sorted(args.items()):
- # print('%s: %s' % (str(k), str(v)))
return vars(data_opt)
def activate():
process_live_input(opt, data_opt)
@@ -131,9 +127,12 @@ def listen():
def process_live_input(opt, data_opt):
A_offset, A_im, A_dir = load_first_frame(opt, data_opt)
+ print("load first frame")
data_loader = CreateRecursiveDataLoader(opt)
+ print("made data loader")
dataset = data_loader.load_data()
+ print("load data")
model = create_model(opt)
print("generating...")
@@ -219,4 +218,4 @@ def process_live_input(opt, data_opt):
os.rename(tmp_path, next_path)
if __name__ == '__main__':
- listen() \ No newline at end of file
+ listen()