diff --git a/bob/bio/gmm/tools/utils.py b/bob/bio/gmm/tools/utils.py index 146fb50e811f1aa88ab8ca17ebe0ed930e3a96d6..0d6c14b4333471868f1b5cdecd12924d2d645fc7 100644 --- a/bob/bio/gmm/tools/utils.py +++ b/bob/bio/gmm/tools/utils.py @@ -53,7 +53,7 @@ def add_jobs(args, submitter, local_job_adder): def is_video_extension(algorithm): try: import bob.bio.video - if isinstance(algorithm, bob.bio.video.algorithm.Algorithm): + if isinstance(algorithm, bob.bio.video.algorithm.Wrapper): return True except ImportError: pass @@ -67,7 +67,7 @@ def read_feature(extractor, feature_file): feature = extractor.read_feature(feature_file) try: import bob.bio.video - if isinstance(extractor, bob.bio.video.extractor.Extractor): + if isinstance(extractor, bob.bio.video.extractor.Wrapper): assert isinstance(feature, bob.bio.video.FrameContainer) return numpy.vstack([frame for _,frame,_ in feature]) except ImportError: