Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Commit

Permalink
feat(audio): add preprocess and mfcc encoder for audio
Browse files Browse the repository at this point in the history
  • Loading branch information
jemmyshin committed Aug 7, 2019
1 parent 8d269aa commit 2647b84
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gnes/preprocessor/audio/audio_vanilla.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from .base import BaseAudioPreprocessor
import numpy as np
from ..helper import get_video_length_from_raw, get_audio
from ...proto import gnes_pb2, array2blob
from ...proto import array2blob


class AudioVanilla(BaseAudioPreprocessor):
Expand Down
1 change: 0 additions & 1 deletion gnes/preprocessor/audio/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from typing import List

from ..base import BasePreprocessor
from ...proto import gnes_pb2
Expand Down
2 changes: 1 addition & 1 deletion gnes/preprocessor/video/ffmpeg.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import numpy as np

from .base import BaseVideoPreprocessor
from ..helper import get_video_frames, get_audio, phash_descriptor, get_video_length_from_raw
from ..helper import get_video_frames, phash_descriptor
from ...proto import gnes_pb2, array2blob


Expand Down

0 comments on commit 2647b84

Please sign in to comment.