We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5791952 + ffb1fbc commit 19a0b6fCopy full SHA for 19a0b6f
5_MalwareInjection/solution_5_0.py
@@ -14,8 +14,8 @@
14
15
latent_dim = 256 # Latent dimensionality of the encoding space.
16
17
-input_token_index = np.load('./input_tokens.npy').item()
18
-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()
19
20
num_encoder_tokens = len(input_token_index)
21
num_decoder_tokens = len(target_token_index)
0 commit comments