I want to create a general model and predict several images (batched together). However, model.predict() only returns 2 predictions no matter the size of the batch.
from clarifai.rest import ClarifaiApp
from clarifai.rest import Image as ClImage
app = ClarifaiApp(api_key='') # I have my api key here
model = app.public_models.general_model
return [ClImage(filename = image) for image in images]
local_images = ['path1', 'path2', 'path3']
bulk = create_images_obj(local_images)
print(len(bulk)) # returns 3
predictions = model.predict(bulk)
print(len(predictions)) # returns only 2 predictions only
I tried creating a list of 4 to 6 images, but no matter what, I only receive two predictions. Am I limited by my tier or API Key? Or is there an issue with my code?
Thank you in advance !