importosimportpaddlehubashubif__name__=="__main__":ssd=hub.Module(name="ssd_mobilenet_v1_pascal")test_img_path=os.path.join("test","test_img_bird.jpg")# get the input keys for signature 'object_detection'data_format=ssd.processor.data_format(sign_name='object_detection')key=list(data_format.keys())[0]# set input dictinput_dict={key:[test_img_path]}# execute predict and print the resultresults=ssd.object_detection(data=input_dict)forresultinresults:hub.logger.info(result)