« first day (1875 days earlier)      last day (1503 days later) » 

user11585758
4:47 PM
def dog_human_detectoron(dog_img_path, human_img_path, pretrained_model):
    human_len = len(human_files_short)
    dog_len = len(dog_files_short)

    print("Total number of human images:  ", human_len)
    print("Total number of Dog images: ", dog_len)

    detected_humans_as_dogs = 0
    detected_dogs_as_dogs = 0

    def dog_detect(img_path):
        # Code that takes  any pretrained model and return index of classes in (prediction_index)
        ...........
        prediction_index = prediction.data.numpy().argmax()
 
1 message moved from Python
 

« first day (1875 days earlier)      last day (1503 days later) »