Skip to content

Commit

Permalink
bugfix view2 libsvm
Browse files Browse the repository at this point in the history
  • Loading branch information
yamins81 committed Feb 28, 2012
1 parent 1b69803 commit 7a09eea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eccv12/lfw.py
Expand Up @@ -534,7 +534,7 @@ def train_view2(namebases, basedirs, test=None, use_libsvm=False):
kernel = use_libsvm.get('kernel', 'linear')
else:
kernel = 'linear'
if kernel_choice == 'precomputed':
if kernel == 'precomputed':
(_X, _y, _d) = train_Xyd_n
print ('Computing kernel ...')
K = np.dot(_X, _X.T)
Expand Down

0 comments on commit 7a09eea

Please sign in to comment.