You can build a classification model using neural network algoritm using "sklearn" library. In this case photos (witch are your input values) are some nparrays for example a 8×8 image is a numpy array with 8 columns and 8 rows. Then for your labels you add the cities. After that just train the MLPClassifier model from sklearn.neural_network with those data.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.