Training: Plot: Set alpha on the test loss since it overlaps the train loss.
This commit is contained in:
parent
4509fac2e3
commit
f51d02fb51
|
@ -52,7 +52,7 @@ def plot(workDirs):
|
|||
trainDf.index += 1
|
||||
testDf.index += 1
|
||||
trainDf['avg triplet loss (train set)'].plot(legend='True', ax=ax)
|
||||
testDf['avg triplet loss (test set)'].plot(legend='True', ax=ax)
|
||||
testDf['avg triplet loss (test set)'].plot(legend='True', ax=ax, alpha=0.6)
|
||||
plt.legend(['Train loss, semi-hard triplets',
|
||||
'Test loss, random triplets'])
|
||||
plt.xlabel("Epoch")
|
||||
|
|
Loading…
Reference in New Issue