diff options
| author | jules@lens <julescarbon@gmail.com> | 2018-05-21 03:20:03 +0200 |
|---|---|---|
| committer | jules@lens <julescarbon@gmail.com> | 2018-05-21 03:20:03 +0200 |
| commit | a0a6e7f882e151b96b407fa9b47fa5bd5cb0ab76 (patch) | |
| tree | a6b2487646013ed1fff2335b78953c377bbc093f | |
| parent | cfd0f02611580775dea459cd3b103fc7151f913b (diff) | |
getting opts
| -rw-r--r-- | live-mogrify.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/live-mogrify.py b/live-mogrify.py index 6f6a7d3..2fd0c35 100644 --- a/live-mogrify.py +++ b/live-mogrify.py @@ -123,18 +123,17 @@ def process_live_input(): 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) + rpc_client = CortexRPC(get_opts, set_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...") @@ -220,4 +219,4 @@ def process_live_input(): os.rename(tmp_path, next_path) if __name__ == '__main__': - process_live_input()
\ No newline at end of file + process_live_input() |
