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

loading multiple image at the same time #11

Closed
alain2208 opened this issue Mar 30, 2018 · 1 comment
Closed

loading multiple image at the same time #11

alain2208 opened this issue Mar 30, 2018 · 1 comment

Comments

@alain2208
Copy link

alain2208 commented Mar 30, 2018

to process multiple image in one shot i did like this

listim=[
'c:/graph/1.jpg','c:/graph/2.jpg','c:/graph/3.jpg'
]

img = utils.load_img(listim, target_size=256, crop_size=224)
imgs = nets.preprocess(models, img)

got TypeError: bad argument type for built-in operation on the utils.load_img(

how to proceed if multiple image to detect?
i was trying the network comparison and so i thought it could be possible to load multiple image as it is possible to load multiple networks in the for (model, img) in zip(models, imgs):

@taehoonlee
Copy link
Owner

@alain2208, Please see this commit. Now you can input a list of paths into load_img.

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

2 participants