The beaches are always a place of attraction for people and we can always see a lot of tourists on the sea beaches. Mandvi sea beach is one of the beaches located in Gujarat, India. Generally this beach is not crowded, but in the evening we can see a bunch of people there. There were six windmills there which are not in working conditions now. But the leftover of these windmills gives a good look to the beach. So whenever you are travelling to Rann of Kutch, I would say that you must visit this beach and I'm assuring you'll not be disappointed.
#pip install imageai #pip install Tensorflow #pip install keras from imageai.Prediction import ImagePrediction import os from keras.models import load_model Givenimage= "picc.jpg" execution_path=os.getcwd() #print(execution_path) prediction = ImagePrediction() prediction.setModelTypeAsSqueezeNet() prediction.setModelPath(os.path.join(execution_path, "squeezenet_weights_tf_dim_ordering_tf_kernels.h5" )) prediction.loadModel() predictions, probabilities = prediction.predictImage(os.path.join(execution_path, Givenimage), result_count= 3 ) for eachPrediction, eachProbability in zip (predictions, probabilities): print (eachPrediction , " : " , eachProbability) Result: WARNING:tensorflow:11 out of the last 11 calls to <function Model.make_predict_function.<locals>.predict_function at 0x7f941e211598> tr...
Good work 👍!!!
ReplyDelete