An approach for recovering the phase information from the detected intensity was proposed in this work. Unlike the conventional approach based on the Gerchberg-Saxton algorithm, the proposed approach recovered the phase information via an alternative technique in the realm of deep learning, the residual neural network. The database we utilized to train the network was collected by a Michelson-based interferometer, where a spatial light modulator was implemented to provide the phase modulation as the phase object. As the result, the mean absolute error of each pixel was 0.0614π.