2ABZP2KNBJEMIR46B5UM7JXNYLM7CTFA5YA7VFQIS5JYYH4W5PYAC
7ML3OFE732OG2ZBZWETBMMZTATOAJGOMNUEIV4GEJI56JX3P7NJQC
SJHJS463IU7LHBM4C6FO2PJSLZLT7LCN26W2D3V2NIQEQKA4HCLAC
ZM2EMAZOPZDZ2VUIE6NGAXS2OM7MYNWTMHIKM7KPIKSYXXR4D4CQC
import tensorflow as tf
inputs = tf.reshape(drawmap.inputs_equirectangular(2048,1024), (2048 * 1024, 3)) outputs = tf.reshape(monitor.target(inputs), (1024,2048, 1)) outputs = tf.cast(outputs * 255, tf.uint8) outputs = tf.io.encode_png(outputs).numpy() f = open("map.png", 'wb') f.write(outputs) f.close()
inputs = tf.reshape(drawmap.inputs_equirectangular(2048,1024), (2048 * 1024, 3))
outputs = tf.reshape(monitor.target(inputs), (1024,2048, 1))
outputs = tf.cast(outputs * 255, tf.uint8)
outputs = tf.io.encode_png(outputs).numpy()
f = open("map.png", 'wb')
f.write(outputs)
f.close()