Skip to content

Commit

Permalink
Merge pull request #4 from PatrickSpeicher/patch-3
Browse files Browse the repository at this point in the history
Update solution_5_0.py
  • Loading branch information
Kayzaks authored Nov 26, 2019
2 parents 5791952 + ffb1fbc commit 19a0b6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 5_MalwareInjection/solution_5_0.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@

latent_dim = 256 # Latent dimensionality of the encoding space.

input_token_index = np.load('./input_tokens.npy').item()
target_token_index = np.load('./target_tokens.npy').item()
input_token_index = np.load('./input_tokens.npy', allow_pickle=True).item()
target_token_index = np.load('./target_tokens.npy', allow_pickle=True).item()

num_encoder_tokens = len(input_token_index)
num_decoder_tokens = len(target_token_index)
Expand Down

0 comments on commit 19a0b6f

Please sign in to comment.