MCPcopy Create free account
hub / github.com/amdegroot/ssd.pytorch / str2bool

Function str2bool

eval.py:32–33  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

30
31
32def str2bool(v):
33 return v.lower() in ("yes", "true", "t", "1")
34
35
36parser = argparse.ArgumentParser(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected