File size: 299 Bytes
bec1ee5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import matplotlib.pyplot as plt
import numpy as np
import seaborn as sns

sns.set()


def loss_history_plt(loss_history: np.array) -> None:
    sns.lineplot(
        x=np.arange(len(loss_history)),
        y=loss_history,
    )
    plt.xlabel("Epoch")
    plt.ylabel("Training Loss")
    plt.show()