Last active
December 20, 2019 23:49
-
-
Save juliensimon/791fea21ec401b318f9458b300e61e26 to your computer and use it in GitHub Desktop.
DGL part 7
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
last_epoch = all_preds[epochs-1].detach().numpy() | |
predicted_class = np.argmax(last_epoch, axis=-1) | |
print(predicted_class) | |
[0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 1 0 1 0 1 1 1 1 1 1 0 1 0 1 1 1] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment