Commit 5fe2945a authored by Anthony Larcher's avatar Anthony Larcher
Browse files

update

parent 1c480d00
......@@ -310,8 +310,7 @@ class FeaturesExtractor(object):
dir_name = os.path.dirname(feature_filename) # get the path
if not os.path.exists(dir_name) and not (dir_name == ''):
os.makedirs(dir_name)
h5f = h5py.File(feature_filename, 'a', backing_store=backing_store, driver='core')
h5f = h5py.File(feature_filename, 'w', backing_store=backing_store, driver='core')
if "cep" not in self.save_param:
cep = None
cep_mean = None
......
......@@ -387,8 +387,6 @@ class Xtractor(torch.nn.Module):
self.feature_size = None
self.norm_embedding = norm_embedding
print(f"Speaker number : {self.speaker_number}")
if model_archi == "xvector":
self.input_nbdim = 2
......
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