-
Notifications
You must be signed in to change notification settings - Fork 25
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
Optomotor Module stops with the following error #122
Comments
Hi @budhaChowdhury, thanks, Does it happen systematically? Does it happen when just tracking? It looks like this is an exception when the input image (within a region of interest) is completely black (mean = 0)... try:
scale = 128. / mean[0]
except ZeroDivisionError:
raise NoPositionError |
Hi Quentin, |
Are you positive the IR lights are working? this is the kind of error you
would expect if IR lights were not functioning but in that case you would
expect the error to pop up shortly after lights off. If things are as you
suggest, on the other hand, I suppose what is happening is that visible
lights create a strong flash of light and the camera closes the shutter as
a response, resulting in some pitch black frames.
I don't think we've ever seen that error. We can work around it using the
solution Quentin suggested but if you have an IR lights issue you'd still
lose data.
…On Tue, 14 Jul 2020, 21:22 budhaChowdhury, ***@***.***> wrote:
Hi Quentin,
Thanks for your feedback!
The problem is arising when the lights in the incubator turn back on
(respective day) after tracking in the dark (respective night). I just ran
the module a couple more times and every single time the tracking stops as
the lights are turned back on, even with a lower intensity. Do you think I
should still try out the altered code?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#122 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFKERNJ7SO44WHLINPLG2TR3S5B5ANCNFSM4OZ2ENBA>
.
|
Yes, I would check that the lights are working as well (maybe just take a video). But I would say the untested patch I propose should make the tracking more robust in the case this is just a spurious couple of frames... That would perhaps be smart for us to implement so that long experiments stop after several days of acquisition... That said, it is still very hard to generate completely black frames, which is why we never had this issue... |
@ggilestro Is the update service still running on the new version? I would suggest adding the patch on a github branch so that @budhaChowdhury can update devices to this specific branch for testing... |
Yes the update service runs as before but just commit this to `dev` : it's
safe enough. Thanks Quentin. Good to see you on board :)
…On Tue, 14 Jul 2020, 22:32 Quentin Geissmann, ***@***.***> wrote:
@ggilestro <https://github.com/ggilestro> Is the update service still
running on the new version? I would suggest adding the patch on a github
branch so that @budhaChowdhury <https://github.com/budhaChowdhury> can
update devices to this specific branch for testing...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#122 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFKERJOJV5ZBI5CUUM4YC3R3TFFTANCNFSM4OZ2ENBA>
.
|
I don't have much infrastructure to test anything, but I am happy to help anything back-endish :). I can make a PR on dev and you can test. |
once the patch goes through to dev, you can update following this information. Ensure you pick the |
Thank you so much, will definitely keep you updated how it goes! |
Hi Quentin, |
I am traveling and I have not accepted the modification request yet. Please
wait 24h.
…On Wed, 15 Jul 2020, 19:52 budhaChowdhury, ***@***.***> wrote:
Hi Quentin,
in the dev branch (for ethoscope) the status says "Software broken"-
should I go ahead and update it anyway? Thanks!
ps. I am guessing I should update the Ethoscope, and not the node?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#122 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFKEROHCXEMIATCLFBMJ6DR3XUD7ANCNFSM4OZ2ENBA>
.
|
okay, just checking : ) Thanks a ton! |
The Optomotor Module starts up and runs without any problems, but after overnight tracking, exits with the error message.
The text was updated successfully, but these errors were encountered: