Hi all
I get this error "Error: Image Recognition (6): Unexpected error occurred in plugin please see log file: filepath\AppData\Local\Alteryx\Log\ImageRecognition6.log", and wanted to know if anyone could help me?
IT comes when I increase my sample size, I have over 24K pictures that I have processed, when I build a model on 200 of them it is fine but when I have tried on all 24K or even 1K of them I get the above error, any idea of how to proceed?
Ta
Solved! Go to Solution.
@aatalai
You said that there are 24k items, are all these items are images?
Does all the items has the same file type?
@OTrieger yes all are images, all went through the image input tool (3 were dropped) and then all that went through the impage input then went through to image processing
I took the pictures from this data set from kaggle https://www.kaggle.com/datasets/bhavikjikadara/dog-and-cat-classification-dataset
Crazy idea ---- can you post the log file which Alteryx pointed you to? Maybe let us know what it says?
My hunch is the image recognition tool is not meant for 24K photos - why because Alteryx sits on your PC and you presumably don't have a PC which can handle 24K images in memory.
@apathetichell here you go
hmmm first error is the pydantic validation error. You can do this for smaller groups of images? This can be either 1) you are sending in too many files. 2) one (or more) of your files is junky. I'd recommend throwing it in a batch macro. sending it in batches of 100. seeing which batch errors out.
ok trying to find the errors, but shouldn't they have been detected at the image processing tool or at the image input tool (as that is when 3 other records were dropped)because it couldn't find it? )
Also think it is specfic file as sent in a sample of batches and one of them failed. Will keep you posted
OK so aftyer investigation found out that it was due to the image mode being RGBA, when it needs to be RBG, so filtered them out and it then worked. @apathetichell the ca 24K files all worked afterwards (less than 70 were dropped following the RGB filter.