initial commit of new version

This commit is contained in:
tms
2026-10-04 18:24:18 -04:00
parent 994fac96e0
commit 57220375a3
43 changed files with 3429 additions and 1 deletions
+72
View File
@@ -0,0 +1,72 @@
#!/bin/bash
NUM_LEVELS = 9
NUM_HISTO_BINS = 16
NUM_ID_BINS = 5 # id, x, y, tilew, tileh
def check_params(params, k, defaultval):
if k in params.keys():
return params[k]
else:
return defaultval
LEVELS_CONFIG = [
{
"level": 0,
"tiles": False,
"gridsplit": None,
"target": False,
"targetblocks": None
},
{
"level": 1,
"tiles": False,
"gridsplit": None,
"target": False,
"targetblocks": None
},
{
"level": 2,
"tiles": False,
"gridsplit": None,
"target": False,
"targetblocks": None
},
{
"level": 3,
"tiles": True,
"gridsplit": None,
"target": False,
"targetblocks": None
},
{
"level": 4,
"tiles": True,
"gridsplit": None,
"target": False,
"targetblocks": None
},
{
"level": 5,
"tiles": True,
"gridsplit": None,
"target": False,
"targetblocks": None
},
{
"level": 6,
"tiles": True,
"gridsplit": None,
"target": False,
"targetblocks": None
},
{
"level": 7,
"tiles": True,
"gridsplit": None,
"target": False,
"targetblocks": None
}
]