Created
May 28, 2021 17:51
-
-
Save eileen-code4fun/133848950b03d54820c4352dc0ef15ce to your computer and use it in GitHub Desktop.
CIFAR10 Pred Prep
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
import json | |
data = { | |
"instances": [ | |
(test_images[0]/255.0).tolist() | |
] | |
} | |
print(json.dumps(data), file=open('prediction_request.json', 'w')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment