This project gives a simple verification of Frequency Principle proposed in this paper.
-
Set
'function'
inconfigs.py
to0,1,2,3,4
for four types of function. -
Simply run
train.py
Learning procedure visualization in frequency domain when fitting y=cos(x)+cos(3x)+cos(5x)
.
Loss heat map of frequency domain when fitting y=cos(x)+cos(3x)+cos(5x)
.