Commit 6bb93a66 authored by Pavel KORSHUNOV's avatar Pavel KORSHUNOV

fixing sphinx

parent 96966b3f
Pipeline #17062 passed with stage
in 38 minutes and 44 seconds
......@@ -6,11 +6,9 @@
from bob.pad.base.algorithm import Algorithm
import numpy
# import tensorflow as tf
import os
import logging
logger = logging.getLogger("bob.pad.voice")
......@@ -48,14 +46,8 @@ class TensorflowEval(Algorithm):
self.data_std = numpy.array(npzfile['data_std'])
if not self.data_std.shape: # if std was saved as scalar
self.data_std = numpy.ones(features_length)
# if self.data_mean.shape[0] > input_shape[0]:
# self.data_mean = self.data_mean[:input_shape[0]]
# self.data_mean = numpy.reshape(self.data_mean, input_shape)
# if self.data_std.shape[0] > input_shape[0]:
# self.data_std = self.data_std[:input_shape[0]]
# self.data_std = numpy.reshape(self.data_std, input_shape)
else:
logger.warn("Normalization file '%s' does not exist!" % normalization_file)
logger.info("Normalization file '%s' does not exist!" % normalization_file)
self.data_mean = 0
self.data_std = 1
......
......@@ -4,3 +4,6 @@ bob.bio.spear
gridtk
bob.db.base
bob.db.avspoof
bob.bio.bas
bob.io.base
bob.pad.base
\ No newline at end of file
......@@ -10,12 +10,12 @@ Presentation Attack Detection in Voice Biometrics
This package is an extension of the ``bob.pad.base`` presentation attack detection (PAD) framework package for voice biometrics.
==================================
Tools implemented in bob.pad.voice
==================================
Extractors
----------
.. automodule:: bob.pad.voice.extractor
Algorithms
......
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