✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Dat je deo koda za inicijalizaciju GoogleNet konvolucione
neuronske mreze za klasifikaciju slika:
file1="bvlc_googlenet.caffemodel"
file2="bvlc_googlenet.prototxt"
file3="synset_words.txt"
file4=file1
rows = open(file3).read().strip().split("\n")
classes = [r[r.find(" ") + 1:].split(",")[0] for r in rows]
net = cv.dnn.readNetFromCaffe(file2,file1)
U kom fajlu se nalaze konkretni nazivi klasa koje prepoznaje GoogleNet ?