Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when running BSOID on concatenated output of multiple DLC runs #71

Open
vickerse1 opened this issue Feb 15, 2023 · 0 comments
Open

Comments

@vickerse1
Copy link

Hi,

When I concatenate multiple DLC csv's and use the concatenated file as the input to BSOID, I get the following error on the "predict labels and create example videos" step:


Traceback (most recent call last):
File "/home/evicker2/.conda/envs/bsoid/lib/python3.10/runpy.py", line 187, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/home/evicker2/.conda/envs/bsoid/lib/python3.10/runpy.py", line 110, in _get_module_details
import(pkg_name)
File "/gpfs/home/evicker2/Github/B-SOID/bsoid_v1_2_1.py", line 1289, in
f_10fps, trained_tsne, scaler, gmm_assignments, classifier, scores = bsoid_build(TRAIN_FOLDERS)
File "/gpfs/home/evicker2/Github/B-SOID/bsoid_v1_2_1.py", line 957, in bsoid_build
f_10fps, trained_tsne, scaler, gmm_assignments, classifier, scores = bsoid_train(train_folders)
File "/gpfs/home/evicker2/Github/B-SOID/bsoid_v1_2_1.py", line 936, in bsoid_train
filenames, training_data, perc_rect = likelihoodprocessing(train_folders)
File "/gpfs/home/evicker2/Github/B-SOID/bsoid_v1_2_1.py", line 296, in likelihoodprocessing
filenames, data, perc_rect = import_folders(folders)
File "/gpfs/home/evicker2/Github/B-SOID/bsoid_v1_2_1.py", line 278, in import_folders
curr_df_filt, perc_rect = adp_filt(curr_df)
File "/gpfs/home/evicker2/Github/B-SOID/bsoid_v1_2_1.py", line 243, in adp_filt
a, b = np.histogram(data_lh[1:, x].astype(np.float))
ValueError: could not convert string to float: 'DLC_resnet50_3056_E235_ALL_singlePlane_May2522May25shuffle1_500000'

Is there something wrong that I'm doing with the formatting of the concatenated csv? Do you have any ideas about what proper formatting would entail in this case, or if the error is totally unrelated to csv formatting?

Thanks,

Evan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant