Closed Nercules closed 1 year ago
I managed to fix the error, it was caused by an data read fault. DLC has changed their data structures a little. and the B-SOiD doesn't has dynamic reads. I think this is because the software seems to not be supported anymore (last update 2-3 years ago).
The fix Change in the script B-SOID/bsoid_app/bsoid_utilities/likelihoodprocessing.py the forloop on lines 79 - 85:
for header in pose:
if currdf[0][header + 1] == "likelihood":
lIndex.append(header)
elif currdf[0][header + 1] == "x":
xIndex.append(header)
elif currdf[0][header + 1] == "y":
yIndex.append(header)
to
for header in pose:
if currdf[1][header + 1] == "likelihood":
lIndex.append(header)
elif currdf[1][header + 1] == "x":
xIndex.append(header)
elif currdf[1][header + 1] == "y":
yIndex.append(header)
I ran into an other error when continuing the process. I will try fixing these errors and updating you.
I managed to fix the error, it was caused by an data read fault. DLC has changed their data structures a little. and the B-SOiD doesn't has dynamic reads. I think this is because the software seems to not be supported anymore (last update 2-3 years ago).
The fix Change in the script B-SOID/bsoid_app/bsoid_utilities/likelihoodprocessing.py the forloop on lines 79 - 85:
for header in pose:
if currdf[0][header + 1] == "likelihood":
lIndex.append(header)
elif currdf[0][header + 1] == "x":
xIndex.append(header)
elif currdf[0][header + 1] == "y":
yIndex.append(header)
to
for header in pose:
if currdf[1][header + 1] == "likelihood":
lIndex.append(header)
elif currdf[1][header + 1] == "x":
xIndex.append(header)
elif currdf[1][header + 1] == "y":
yIndex.append(header)
I ran into an other error when continuing the process. I will try fixing these errors and updating you.
I managed to fix the error, it was caused by an data read fault. DLC has changed their data structures a little. and the B-SOiD doesn't has dynamic reads. I think this is because the software seems to not be supported anymore (last update 2-3 years ago).
The fix Change in the script B-SOID/bsoid_app/bsoid_utilities/likelihoodprocessing.py the forloop on lines 79 - 85:
for header in pose:
if currdf[0][header + 1] == "likelihood":
lIndex.append(header)
elif currdf[0][header + 1] == "x":
xIndex.append(header)
elif currdf[0][header + 1] == "y":
yIndex.append(header)
to
for header in pose:
if currdf[1][header + 1] == "likelihood":
lIndex.append(header)
elif currdf[1][header + 1] == "x":
xIndex.append(header)
elif currdf[1][header + 1] == "y":
yIndex.append(header)
I ran into an other error when continuing the process. I will try fixing these errors and updating you.
BACKGROUND I downloaded the B-SOiD repository, and setup a conda environment with the requirements.yaml file. However, I noticed that there where some issues with downloading the Python dependencies, so I changes some things in the .yaml file:
OUTPUTS OF pip list
I used DLC as pose estimation software, I extracted .h5 and .csv files. I tried to use both in B-SOiD and got the following errors.
.csv ERROR
.h5 ERROR
SYSTEM