Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ifzhang/FairMOT
/ mkdir_if_missing
Function
mkdir_if_missing
src/lib/tracking_utils/utils.py:19–21 ·
view source on GitHub ↗
(d)
Source
from the content-addressed store, hash-verified
17
np.set_printoptions(linewidth=320, formatter={
'float_kind'
:
'{:11.5g}'
.format})
# format short g, %precision=5
18
19
def
mkdir_if_missing(d):
20
if
not osp.exists(d):
21
os.makedirs(d)
22
23
24
def
float3(x):
# format floats to 3 decimals
Callers
7
eval_seq
Function · 0.90
main
Function · 0.90
eval_seq
Function · 0.90
main
Function · 0.90
eval_seq
Function · 0.90
main
Function · 0.90
demo
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected