Commit fdb86866 authored by Olegs NIKISINS's avatar Olegs NIKISINS

Merge branch 'read_flag_for_svm' into 'master'

fix issue #20

Closes #20

See merge request !40
parents 01f51991 5d7ea3c6
Pipeline #18948 passed with stage
in 35 minutes and 39 seconds
......@@ -432,7 +432,7 @@ class SVM(Algorithm):
The file to read the projector from.
"""
f = bob.io.base.HDF5File(projector_file, 'a')
f = bob.io.base.HDF5File(projector_file, 'r')
self.machine = bob.learn.libsvm.Machine(f)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment