update config
This commit is contained in:
parent
88c828e69c
commit
b61bf7148d
@ -171,7 +171,10 @@ class CfgNode(dict):
|
|||||||
return "{}"
|
return "{}"
|
||||||
for k, v in self.items():
|
for k, v in self.items():
|
||||||
seperator = "\n" if isinstance(v, CfgNode) and len(v.keys()) > 0 else " "
|
seperator = "\n" if isinstance(v, CfgNode) and len(v.keys()) > 0 else " "
|
||||||
attr_str = "{}:{}{}".format(str(k), seperator, str(v))
|
if isinstance(v, float):
|
||||||
|
attr_str = "{}:{}{:f}".format(str(k), seperator, v)
|
||||||
|
else:
|
||||||
|
attr_str = "{}:{}{}".format(str(k), seperator, str(v))
|
||||||
attr_str = _indent(attr_str, 4)
|
attr_str = _indent(attr_str, 4)
|
||||||
s.append(attr_str)
|
s.append(attr_str)
|
||||||
r += "\n".join(s)
|
r += "\n".join(s)
|
||||||
|
1
setup.py
1
setup.py
@ -16,6 +16,7 @@ setup(
|
|||||||
# test_suite='setup.test_all',
|
# test_suite='setup.test_all',
|
||||||
packages=[
|
packages=[
|
||||||
'easymocap',
|
'easymocap',
|
||||||
|
'easymocap.config',
|
||||||
'easymocap.dataset',
|
'easymocap.dataset',
|
||||||
'easymocap.smplmodel',
|
'easymocap.smplmodel',
|
||||||
'easymocap.pyfitting',
|
'easymocap.pyfitting',
|
||||||
|
Loading…
Reference in New Issue
Block a user