Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Image recogntion error

aatalai
14 - Magnetar

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

8 REPLIES 8
OTrieger
13 - Pulsar

@aatalai 
You said that there are 24k items, are all these items are images?
Does all the items has the same file type?

aatalai
14 - Magnetar

@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

aatalai
14 - Magnetar

I took the pictures from this data set from kaggle https://www.kaggle.com/datasets/bhavikjikadara/dog-and-cat-classification-dataset

apathetichell
19 - Altair

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.

aatalai
14 - Magnetar

@apathetichell here you go

apathetichell
19 - Altair

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.

aatalai
14 - Magnetar

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? )Screenshot 2025-05-08 091138.png

 

Also think it is specfic file as sent in a sample of batches and one of them failed. Will keep you posted

aatalai
14 - Magnetar

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.

Labels
Top Solution Authors