Commit 27cf9bc6 authored by Tiago de Freitas Pereira's avatar Tiago de Freitas Pereira
Browse files

[bob9] Rewired imports from bob.bio.* to bob.bio.*_legacy that are in bob.pad.base

parent 37b5bec6
Pipeline #44169 passed with stage
in 5 minutes and 50 seconds
......@@ -3,8 +3,8 @@ import scipy.signal
from bob.db.base import read_annotation_file
from bob.io.base import load
from bob.io.video import reader
from bob.bio.video.utils import FrameSelector
from bob.bio.video.database import VideoBioFile
from bob.bio.video_legacy.utils import FrameSelector
from bob.bio.video_legacy.database import VideoBioFile
import numpy as np
import subprocess
import tempfile
......
from functools import partial
from bob.bio.video.annotator import Wrapper
from bob.bio.face.annotator.bobipfacedetect import BobIpFacedetect
from bob.bio.face.annotator.bobipflandmark import BobIpFlandmark
from bob.bio.face.annotator.bobipmtcnn import BobIpMTCNN
from bob.bio.face.annotator.bobipdlib import BobIpDlib
from bob.bio.face.annotator import min_face_size_validator
from bob.bio.base.annotator import FailSafe
from bob.bio.video_legacy.annotator import Wrapper
from bob.bio.face_legacy.annotator.bobipfacedetect import BobIpFacedetect
from bob.bio.face_legacy.annotator.bobipflandmark import BobIpFlandmark
from bob.bio.face_legacy.annotator.bobipmtcnn import BobIpMTCNN
from bob.bio.face_legacy.annotator.bobipdlib import BobIpDlib
from bob.bio.face_legacy.annotator import min_face_size_validator
from bob.bio.base_legacy.annotator import FailSafe
def load_frames(biofile, directory, extension):
......
#!/usr/bin/env python
from bob.bio.spear.database import AudioBioFile
import bob.bio.base
from bob.bio.spear_legacy.database import AudioBioFile
import bob.bio.base_legacy
import bob.io.base
import bob.io.video
from bob.extension import rc
......@@ -16,7 +16,7 @@ class SwanVideoBioFile(SwanVideoFile):
"""SwanVideoBioFile are video files actually"""
class Database(bob.bio.base.database.FileListBioDatabase, SwanVideoDatabase):
class Database(bob.bio.base_legacy.database.FileListBioDatabase, SwanVideoDatabase):
"""Wrapper class for the SWAN database for speaker recognition
(http://www.idiap.ch/dataset/swan). This class defines a simple protocol
for training, dev and and by splitting the audio files of the database in
......
......@@ -25,10 +25,6 @@ requirements:
- bob.io.base
- bob.io.video
- bob.ap
- bob.bio.base
- bob.bio.spear
- bob.bio.face
- bob.bio.video
- bob.pad.base
- bob.pad.face
- bob.pad.voice
......
Supports Markdown
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