Commit 7e812325 authored by Anthony Larcher's avatar Anthony Larcher
Browse files

clean

parent 795bca4b
......@@ -1728,7 +1728,7 @@ def extract_embeddings(idmap_name,
if sliding_window:
starts.extend(numpy.arange(start, start + vec.shape[0] * win_shift, win_shift))
else:
starts.append[start]
starts.append(start)
embeddings = StatServer()
embeddings.modelset = numpy.array(modelset).astype('>U')
......@@ -1913,8 +1913,6 @@ def extract_sliding_embedding(idmap_name,
segset += [seg, ] * data.shape[0]
starts += [numpy.arange(start, start + embeddings.shape[0] * window_shift , window_shift),]
#REPRENDRE ICI
# Create the StatServer
embeddings = StatServer()
embeddings.modelset = numpy.array(modelset).astype('>U')
......
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