def UnpackVariable(var, num):
assert len > 0
if type(var) is list and len(var) == num:
return var
else:
ret = []
if type(var) is list:
assert len(var) == 1
for i in range(0, num):
ret.append(var[0])
else:
for i in range(0, num):
ret.append(var)
return ret
when i run python examples/pelee/eval_voc.py ,TypeError: '>' not supported between instances of 'builtin_function_or_method' and 'int'
how can i solve this problem @Robert-JunWang
when i run
python examples/pelee/eval_voc.py
,TypeError: '>' not supported between instances of 'builtin_function_or_method' and 'int' how can i solve this problem @Robert-JunWang