Support remote logging
This commit is contained in:
parent
ffcf1c26c1
commit
99a54198fb
1 changed files with 11 additions and 0 deletions
|
@ -9,6 +9,17 @@ parser.add_argument(
|
||||||
help="Increase verbosity. Add multiple times to increase further.",
|
help="Increase verbosity. Add multiple times to increase further.",
|
||||||
action='count', default=0
|
action='count', default=0
|
||||||
)
|
)
|
||||||
|
parser.add_argument(
|
||||||
|
'--remote-log-addr',
|
||||||
|
help="Connect to a remote logger like cutelog. Specify the ip",
|
||||||
|
type=str,
|
||||||
|
)
|
||||||
|
parser.add_argument(
|
||||||
|
'--remote-log-port',
|
||||||
|
help="Connect to a remote logger like cutelog. Specify the port",
|
||||||
|
type=int,
|
||||||
|
default=19996
|
||||||
|
)
|
||||||
|
|
||||||
# parser.add_argument('--foo')
|
# parser.add_argument('--foo')
|
||||||
inference_parser = parser.add_argument_group('inference server')
|
inference_parser = parser.add_argument_group('inference server')
|
||||||
|
|
Loading…
Reference in a new issue