-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathmain.py
More file actions
24 lines (19 loc) · 845 Bytes
/
Copy pathmain.py
File metadata and controls
24 lines (19 loc) · 845 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
##############################################
# INTELLERCE LLC - Oct. - Nov. 2023
# This codebase is designed and written for research, test and demo purposes only
# and is not recommended for production purposes.
# This code will work only when the repo's root is added to the PYTHONPATH.
# export PYTHONPATH=$PYTHONPATH:"./"
##############################################
import argparse
import traceback
from scripts.vid2vid import vid2vid
if __name__ == '__main__':
try:
parser = argparse.ArgumentParser()
parser.add_argument("--config", type=str, required=True)
args = parser.parse_args()
vid2vid(config_path=args.config)
except Exception as e:
# error = str(traceback.format_exc())
print("An Error occured: ", e)