Skip to content
Snippets Groups Projects
Commit 27071c43 authored by Tiago de Freitas Pereira's avatar Tiago de Freitas Pereira
Browse files

Merge branch 'matlab' into 'master'

Removed traces of bob.io.matlab

See merge request !14
parents d5c70de3 4ca2648c
No related branches found
No related tags found
1 merge request!14Removed traces of bob.io.matlab
Pipeline #46459 skipped
File added
File added
File added
File added
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
""" """
import bob.learn.linear import bob.learn.linear
import bob.io.matlab
from bob.io.base.test_utils import datafile from bob.io.base.test_utils import datafile
from bob.learn.linear import GFKTrainer, GFKMachine from bob.learn.linear import GFKTrainer, GFKMachine
import os import os
...@@ -47,11 +46,11 @@ def test_matlab_baseline(): ...@@ -47,11 +46,11 @@ def test_matlab_baseline():
import numpy import numpy
numpy.random.seed(10) numpy.random.seed(10)
source_webcam = bob.io.matlab.read_matrix(datafile("webcam.mat", __name__)) source_webcam = bob.io.base.load(datafile("webcam.mat.hdf5", __name__))
webcam_labels = bob.io.matlab.read_matrix(datafile("webcam_labels.mat", __name__)) webcam_labels = bob.io.base.load(datafile("webcam_labels.mat.hdf5", __name__))
target_dslr = bob.io.matlab.read_matrix(datafile("dslr.mat", __name__)) target_dslr = bob.io.base.load(datafile("dslr.mat.hdf5", __name__))
dslr_labels = bob.io.matlab.read_matrix(datafile("dslr_labels.mat", __name__)) dslr_labels = bob.io.base.load(datafile("dslr_labels.mat.hdf5", __name__))
gfk_trainer = GFKTrainer(10, subspace_dim_source=140, subspace_dim_target=140) gfk_trainer = GFKTrainer(10, subspace_dim_source=140, subspace_dim_target=140)
gfk_machine = gfk_trainer.train(source_webcam, target_dslr) gfk_machine = gfk_trainer.train(source_webcam, target_dslr)
......
...@@ -31,8 +31,6 @@ requirements: ...@@ -31,8 +31,6 @@ requirements:
- bob.io.base - bob.io.base
- bob.math - bob.math
- bob.learn.activation - bob.learn.activation
# bob.io.matlab may be removed from dependencies in future
- bob.io.matlab
- scipy {{ scipy }} - scipy {{ scipy }}
- libblitz {{ libblitz }} - libblitz {{ libblitz }}
- boost {{ boost }} - boost {{ boost }}
......
...@@ -5,4 +5,3 @@ bob.core ...@@ -5,4 +5,3 @@ bob.core
bob.io.base bob.io.base
bob.math bob.math
bob.learn.activation bob.learn.activation
bob.io.matlab
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment