Hi , I am making a classifier which basically scans the historical places and detects them .I am using SIFT for taking features of images and then passing them to the neural network . Features are 128 dimensional and model is trained with 97% accuracy but when i am using Single image prediction it is giving error : * ValueError: Input 0 of layer sequential_9 is incompatible with the layer: expected axis -1 of input shape to have value 128 but received input with shape [32, 1]* It's shape is already 128 , but I don't know why it is giving an error . Kindly help me i got stucked in it for several days
This list if for developing the next version of Python, not for providing help with using Python. I suggest you use a Sift-specific mailing list for help with Sift. Eric On 7/6/2020 4:54 AM, hamza naeem wrote:
Hi , I am making a classifier which basically scans the historical places and detects them .I am using SIFT for taking features of images and then passing them to the neural network . Features are 128 dimensional and model is trained with 97% accuracy but when i am using Single image prediction it is giving error : * ValueError: Input 0 of layer sequential_9 is incompatible with the layer: expected axis -1 of input shape to have value 128 but received input with shape [32, 1]* It's shape is already 128 , but I don't know why it is giving an error . Kindly help me i got stucked in it for several days
_______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-leave@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/KGNSVNK5... Code of Conduct: http://python.org/psf/codeofconduct/
participants (2)
-
Eric V. Smith
-
hamza naeem