Explore Courses Blog Tutorials Interview Questions
0 votes
in AI and Deep Learning by (120 points)
im newbie in keras and neural network.

I have done the train process and got the model with the .h5 format

the neural network that I use is the siamese convolutional neural network.

when validating, the predicted image is a random image from my test folder.

i use this when test


test_alphabets = glob('{}/TEST/*'.format(dataset_dirname))


for alph in test_alphabets:

    dirs = glob('{}/*'.format(alph))

    alphabet = {}

    for dirname in dirs:

        alphabet[dirname] = glob('{}/*'.format(dirname))

    testset[alph] = alphabet        


then, display the result with


display_validation_test(siamese_model1, testset)


How do I do the test process by inputting the image I want, then displaying the appropriate image using the .h5 model earlier?

Please log in or register to answer this question.

Welcome to Intellipaat Community. Get your technical queries answered by top developers!

30.5k questions

32.5k answers


108k users

Browse Categories