Spaces:
Runtime error
Runtime error
Delete submission/internal/local.py
Browse files- submission/internal/local.py +0 -22
submission/internal/local.py
DELETED
|
@@ -1,22 +0,0 @@
|
|
| 1 |
-
# Copyright (c) 2019, NVIDIA Corporation. All rights reserved.
|
| 2 |
-
#
|
| 3 |
-
# This work is made available under the Nvidia Source Code License-NC.
|
| 4 |
-
# To view a copy of this license, visit
|
| 5 |
-
# https://nvlabs.github.io/stylegan2/license.html
|
| 6 |
-
|
| 7 |
-
class TargetOptions():
|
| 8 |
-
def __init__(self):
|
| 9 |
-
self.do_not_copy_source_files = False
|
| 10 |
-
|
| 11 |
-
class Target():
|
| 12 |
-
def __init__(self):
|
| 13 |
-
pass
|
| 14 |
-
|
| 15 |
-
def finalize_submit_config(self, submit_config, host_run_dir):
|
| 16 |
-
print ('Local submit ', end='', flush=True)
|
| 17 |
-
submit_config.run_dir = host_run_dir
|
| 18 |
-
|
| 19 |
-
def submit(self, submit_config, host_run_dir):
|
| 20 |
-
from ..submit import run_wrapper, convert_path
|
| 21 |
-
print('- run_dir: %s' % convert_path(submit_config.run_dir), flush=True)
|
| 22 |
-
return run_wrapper(submit_config)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|