microsoft / aerial_wildlife_detection

Tools for detecting wildlife in aerial images using active learning
MIT License
230 stars 58 forks source link

Unexpected Error - Results not being saved (Time Out Error) #49

Open jstabach opened 3 years ago

jstabach commented 3 years ago

Hi Beni

I've been working on annotations of wildebeest with Colin T and have been providing a tour of the system to our colleagues at the Giraffe Conservation Foundation. I've noticed that I seem to get "timed out" when annotations take a long time (~10 minutes) to complete/finalize an image. Annotations seem to be saved without issue when an image can be completed in 5 minutes or less.

Details: Upon clicking 'Next' after finishing an image annotation, I receive an 'Unexpected Error' window. I can resolve the issue by clicking 'Ok' to the error message and then continue to once again select the 'Next' button. I am then prompted with re-entering my login details. The system then seems to resolve my annotations without issue. Flagging this issue for you, but I think it's related to being timed out.

Jared

bkellenb commented 3 years ago

Hi Jared,

Thank you very much for reporting the issue. This has to do with the session timeout and by default occurs precisely after 10 minutes. In theory, AIDE should prompt you with a "renew session" panel if this happens upon which everything should work again (after entering the password). I will investigate the code as for why the error appears.

In the meantime, you can disable the timeout by setting the time_login variable in the settings.ini file to a very high value:

time_login = 10000000

See also here.