Created
February 14, 2021 22:39
-
-
Save islem-esi/a55ed7dfcae2280f058d39573dc23aa7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Change the parameters to whatever suits you | |
batch_size = 512 | |
epochs = 100 | |
labels = [0 for _ in benign_images] + [1 for _ in malicious_images] | |
model.fit(benign_images+malicious_images, labels, | |
batch_size = batch_size, | |
epochs = epochs, | |
validation_split = 0.25, | |
shuffle = True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello Islem,
I try this code, but the benign_images and malicious_images aren't defined, and couldn't see the gist that you mention above. Can you please provide the full script?