-
Notifications
You must be signed in to change notification settings - Fork 45
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
make_video
fails with opencv
#1156
Comments
Please post bugs with a snippet that can be run directly, without referring to outside material This is the expected outcome for populating a key that has already been run. Please check that your keys are present in the list of unprocessed keys, |
Oh okay I see. So in the case of the video population in particular |
This is what determines where your video is saved: spyglass/src/spyglass/position/v1/position_dlc_selection.py Lines 399 to 407 in 03e3996
With the output dir stored in If it did not display the video as normal, I'd recommend reverting to version |
Thank you for pointing that code out to me! So I did find that |
Reverted to |
It appears that there's an upper limit on the number of digits that the video file name can contain, relevant post. I found this by googling the error I saw in the output: I generated the video with a different name. Please check the folder you mentioned above for |
Thanks Chris. |
It looks like the correct video can be generated with 0.5.1 and using the matplotlib processor |
make_video
fails with opencv
Future work will ...
|
Describe the bug
Some of the populate calls in the DLC pipeline aren't working and output
{'success_count': 0, 'error_list': []}
after updating spyglass and the spyglass-dlc environment, in attempts to fix the bug in #1146To Reproduce
Steps to reproduce the behavior:
dlc_key = {'nwb_file_name': 'SC100220231007_.nwb', 'epoch': 11, 'video_file_num': 16, 'project_name': 'sideSleep_LED', 'dlc_model_name': 'sideSleep_LED_tutorial_00', 'dlc_model_params_name': 'default', 'dlc_centroid_params_name': 'default', 'dlc_si_cohort_centroid': 'green_red_led', 'dlc_si_cohort_orientation': 'green_red_led', 'dlc_orientation_params_name': 'default'}
sgp.DLCPosV1().populate(dlc_key)
sgp.DLCPosVideo().populate(dlc_key)
Expected behavior
The populate calls will work
Screenshots
The text was updated successfully, but these errors were encountered: