Commit 533bbf2a authored by Samarth Joshi's avatar Samarth Joshi

q6 ez pz gg

parent dd98cd52
d23ffe8fffdc9cd149dfe31ae1418b30
##Do it here##
import numpy as np
from matplotlib import pyplot as plt
encoded_input = np.load('decode_this.npy')
# a = 0
# b = 255
# c = 100.0
# d = 100.00255
result = (encoded_input-100.0)*(255)/(0.00255)
plt.imsave('result.png', result.astype(np.uint8))
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment