[~] Refactor
This commit is contained in:
parent
64d1864445
commit
bdcab5cd4f
@ -1845,6 +1845,13 @@ def kernel_29():
|
|||||||
t2 = pandas.DataFrame(t9)
|
t2 = pandas.DataFrame(t9)
|
||||||
|
|
||||||
t5 = t2.to_xarray()
|
t5 = t2.to_xarray()
|
||||||
|
t5['keypoints'] = xarray.DataArray(
|
||||||
|
[
|
||||||
|
numpy.array(o).reshape(17, 3)
|
||||||
|
for o in t5['keypoints'].data
|
||||||
|
],
|
||||||
|
dims=['index', 'joint', 'feature'],
|
||||||
|
)
|
||||||
|
|
||||||
return dict(
|
return dict(
|
||||||
t5=t5,
|
t5=t5,
|
||||||
|
Loading…
Reference in New Issue
Block a user