Skip to content
Snippets Groups Projects
Commit 42592f05 authored by Tim O'Donnell's avatar Tim O'Donnell
Browse files

fix

parent 3fb579ae
No related merge requests found
......@@ -153,7 +153,7 @@ def fixed_vectors_encoding(index_encoded_sequences, letter_to_vector_df):
target_shape = (
num_sequences, sequence_length, letter_to_vector_df.shape[0])
result = letter_to_vector_df.iloc[
index_encoded_sequences.flatten()
index_encoded_sequences.reshape((-1,))
].values.reshape(target_shape)
return result
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment