|
|
|
@ -244,7 +244,7 @@ def post_func_ensemble(src="", model_type="", prediction="", model_id=0, ind_inf
|
|
|
|
|
|
|
|
|
|
|
|
if isinstance(data, (list, tuple)) and len(data) >= 2:
|
|
|
|
if isinstance(data, (list, tuple)) and len(data) >= 2:
|
|
|
|
fig, ax = plt.subplots()
|
|
|
|
fig, ax = plt.subplots()
|
|
|
|
ax.imshow(_as_training_colormap_image(data[0]), cmap="viridis")
|
|
|
|
ax.imshow(_as_training_colormap_image(data[0]), cmap="plasma")
|
|
|
|
plt.savefig(src + "_inference_" + str(ind_inference) + "_" + prediction + "_real_" + str(model_id) + "_" + model_type + ".png")
|
|
|
|
plt.savefig(src + "_inference_" + str(ind_inference) + "_" + prediction + "_real_" + str(model_id) + "_" + model_type + ".png")
|
|
|
|
plt.clf()
|
|
|
|
plt.clf()
|
|
|
|
plt.cla()
|
|
|
|
plt.cla()
|
|
|
|
@ -253,7 +253,7 @@ def post_func_ensemble(src="", model_type="", prediction="", model_id=0, ind_inf
|
|
|
|
gc.collect()
|
|
|
|
gc.collect()
|
|
|
|
|
|
|
|
|
|
|
|
fig, ax = plt.subplots()
|
|
|
|
fig, ax = plt.subplots()
|
|
|
|
ax.imshow(_as_training_colormap_image(data[1]), cmap="viridis")
|
|
|
|
ax.imshow(_as_training_colormap_image(data[1]), cmap="plasma")
|
|
|
|
plt.savefig(src + "_inference_" + str(ind_inference) + "_" + prediction + "_mod_" + str(model_id) + "_" + model_type + ".png")
|
|
|
|
plt.savefig(src + "_inference_" + str(ind_inference) + "_" + prediction + "_mod_" + str(model_id) + "_" + model_type + ".png")
|
|
|
|
plt.clf()
|
|
|
|
plt.clf()
|
|
|
|
plt.cla()
|
|
|
|
plt.cla()
|
|
|
|
|