The time-dependent generator coordinate method with the gaussian overlap approximation (TDGCM+GOA) formalism is applied to describe the fission of $^{252}$Cf. We perform analysis of fission from the initial states laying in the energetic range from the ground state to the state located 4 MeV above the fission barrier. The fission fragment mass distributions, obtained for different parity, energy of levels and types of mixed states, are calculated and compared with experimental data. The impact of the total time of wave packet propagation on the final results is studied as well. The weak dependence of obtained mass yields on the initial conditions is shown.