Commit 837e925d authored by Tiago de Freitas Pereira's avatar Tiago de Freitas Pereira
Browse files

Changed the None test

parent 2d53e62f
......@@ -107,7 +107,7 @@ class IVectorMachinePy():
return TtSigmaInvNT
def forward(self, gmmstats):
if self.m_ubm and not (self.m_t == None) and not (self.m_sigma == None):
if self.m_ubm and self.m_t is not None and self.m_sigma is not None:
N = gmmstats.n
F = gmmstats.sum_px
......
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