Created
January 14, 2019 21:45
-
-
Save davidlandry93/6cc29c68a0dc2216fc94cd87001342ae to your computer and use it in GitHub Desktop.
Simple visualization of MindSumo challenge data
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 matplotlib.pyplot as plt | |
import numpy as np | |
if __name__ == '__main__': | |
input_data = 'data/input_training_0000_0099.npy' | |
label_data = 'data/label_training_0000_0099.npy' | |
xs = np.load(input_data) | |
ys = np.load(label_data) | |
fig, (ax1, ax2) = plt.subplots(1,2) | |
ax1.imshow(xs[0,5,:,:]) | |
ax1.set_title('Input temperature') | |
ax2.imshow(ys[0,0,:,:]) | |
ax2.set_title('Label') | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment