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

UnboundLocalError: local variable 'elapsed_time' referenced before assignment #62

Open
iTsMaaT opened this issue Feb 6, 2025 · 0 comments

Comments

@iTsMaaT
Copy link

iTsMaaT commented Feb 6, 2025

Im guetting the following error:


Error

An error has occurred (EcoAssist v5.29): 'local variable 'elapsed_time' referenced before assignment'.

The system cannot find the path specified.

Traceback (most recent call last):
File "C:\Users\matou\EcoAssist_files\EcoAssist\EcoAssist_GUI.py", line 3184, in start_deploy
deploy_model(chosen_folder, additional_img_options, data_type = "img", simple_mode = simple_mode)
File "C:\Users\matou\EcoAssist_files\EcoAssist\EcoAssist_GUI.py", line 2719, in deploy_model
classify_detections(os.path.join(chosen_folder, "image_recognition_file.json"), data_type, simple_mode = simple_mode)
File "C:\Users\matou\EcoAssist_files\EcoAssist\EcoAssist_GUI.py", line 2420, in classify_detections
time_ela = elapsed_time,
UnboundLocalError: local variable 'elapsed_time' referenced before assignment


OK

after locating animals, and when it tries to start identifying them. It doesn't always happen but it happenned when doing a scan on multiple pictures using MegaDetector 5a and DeepFaune 1.2

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