MCPcopy Create free account
hub / github.com/CSAILVision/gandissect / strpair

Function strpair

netdissect/evalablate.py:39–43  ·  view source on GitHub ↗
(arg)

Source from the content-addressed store, hash-verified

37def main():
38 # Training settings
39 def strpair(arg):
40 p = tuple(arg.split(':'))
41 if len(p) == 1:
42 p = p + p
43 return p
44
45 parser = argparse.ArgumentParser(description='Ablation eval',
46 epilog=textwrap.dedent(help_epilog),

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected