from matplotlib import pyplot as plt from plotting_tools import plots_from_mat if __name__ == "__main__": root = "resnet18" matfile = "{}_loss_and_acc_fc.mat".format(root) plots_from_mat(matfile, "{}_fc".format(root)) matfile2 = "{}_loss_and_acc_tune.mat".format(root) plots_from_mat(matfile2, "{}_tune".format(root)) plt.show()
from matplotlib import pyplot as plt from plotting_tools import plots_from_mat if __name__ == "__main__": root = "resnet18_rgb" matfile = "{}_training_data.mat".format(root) plots_from_mat(matfile, root) plt.show()
from matplotlib import pyplot as plt from plotting_tools import plots_from_mat if __name__ == "__main__": matfile = "conv_6-layer_loss_and_acc.mat" plots_from_mat(matfile, "conv_6-layer") plt.show()
from matplotlib import pyplot as plt from plotting_tools import plots_from_mat if __name__ == "__main__": matfile = "resnet52_pretrained_loss_and_acc_fc.mat" plots_from_mat(matfile, "resnet52_pretrained_fc") matfile2 = "resnet52_pretrained_loss_and_acc_tune.mat" plots_from_mat(matfile2, "resnet52_pretrained_tune") plt.show()