Skip to content

Commit 73ce661

Browse files
authored
Update main.py
import binary_perceptron
1 parent eceb18a commit 73ce661

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import struct
33
import matplotlib.pyplot as plt
44

5-
from perceptron import *
5+
from perceptron import binary_perceptron
66

77
def loadImageSet(which=0):
88
print "load image set"
@@ -69,4 +69,4 @@ def loadLabelSet(which=0):
6969
# plt.show()
7070

7171
perceptron = Perceptron()
72-
perceptron.hog_test(imgs[index])
72+
perceptron.hog_test(imgs[index])

0 commit comments

Comments
 (0)