No such file or directory when trying to run recognitions on a new folder

I am not sure if this is a bug or an operator error…
I am trying to run AddaxAI on a new folder of images, running from Timelapse. I get an error about no such file or directory - specifically the image_recognition_file.json file
My folder structure is that inside my main project folder are folders with the date of SD card retrieval, inside which are subfolders for each camera station, inside which are the images. I only want to run the recognizer on the most recent folder, since the previous folders were already processed. I do not have a file named “image_recognition_file.json” in any of my other folders. I do have files named “timelapse_recognition_file.json” inside the previously-processed folders. I tried renaming the “timelapse…json” and I got the same error.

Here is a screenshot of the error message:

Quick update - everything seems to be working with no error messages after restarting everything (computer and software) and connecting the computer to the internet.
~ C

Hi @C_Warbington,

I have no idea what was going on, but I’m glad it solved itself. Perhaps just a glitch in the system.

A restart often does miracles :wink:

Cheers,

Peter

Hi all, i am getting the same error! Restart did not fix the issue unfortunately. I have tried different folders in different places with different contents (filetypes and video/photo). I will now try updating my GPU drivers, and then a reinstall of the entire thing maybe. This is my first time using the app ever, so everything should be fresh.

UPDATE! Turns out my AVI files were semi corrupt, using VLC to convert them into MP4s worked. ffmpeg threw a bunch of issues when i tried processing them

If anyone is interested the file comes from a Denver super cheap camera trap and ffmpeg gives me this error

“[avi @ 00000166a4e85ac0] unknown stream type 73647376
[avi @ 00000166a4e85ac0] scale/rate is 1/0 which is invalid. (This file has been generated by broken software.)
[avi @ 00000166a4e85ac0] unknown stream type 73647376
[avi @ 00000166a4e85ac0] Invalid sample rate: 0
[in#0 @ 00000166a4e8cdc0] Error opening input: Invalid data found when processing input
Error opening input file C:\Users\Anders\Desktop\ETVC - Group B - RodentVideos\17.06\3C\DSCF0080.AVI.
Error opening input files: Invalid data found when processing input”

When trying to run
ffmpeg -ignore_unknown -i “%%f” -map 0:v:0 -map 0:a:0 -c:v libx264 -c:a aac “%%~dpnf.mp4”

Hi @petervanlunteren - I am running into the same issue on folders with no video files stored on a network drive. The process will halt suddenly at seemingly random points. What is odd is that eventually it will work after retrying numerous times. Any guesses?
Thanks
Ben

Hi @benjamin.padilla,

I have never tried running AddaxAI on a network drive, and am pleasantly surprised that it almost works :wink:

The fact that it loads the files via internet, crashes at different points in the process and sometimes completes without any problems suggests that it might be the internet connection causing problems.

I can’t say for sure, but my two cents is that the processing is faster than the internet speed can load the images, and at a certain point it tells you it can’t find the an image because it isn’t loaded yet.

Can you try if you can reproduce the error if you download the images first and run them locally?

Hi Peter
I downloaded a folder of photos to my desktop and it seemed to run ok. I have been thinking the issue was thinking exactly what you described, but was hoping there might be some magical work around. Unfortunately we have hundreds of thousands of photos stored on network drives, so moving them to process will be cumbersome.
Thanks for the help!

Perhaps I could add an option for a delay to the analysis process. Something where you can specify some extra time between images so that it can download. It won’t be a very sophisticated method, but I believe it should work. It will, however, mean that the whole process will take longer (potentially a lot longer).

How many images are you processing now? Per second or images per second?