Trajectory prediction of the ego vehicle is necessary for the cooperation driving of intelligent vehicles and drivers. Methods based on deep learning can fit complex functions, but they usually focus on vehicles' behavioral characteristics. However, vehicles' trajectories are closely related to the cognition results of drivers. Therefore, based on drivers' cognitive characteristics, a network model is designed to predict vehicle trajectories. Specifically, in the perception stage, featured grids are used that are in the driver's view to encode perceptual information; in the decision stage, convolution and graph attention operations are combined to model the driver's interaction with the surrounding traffic elements; in the motion stage, the elements are constrained in one hidden layer by vehicles' actual control inputs and design the corresponding method to obtain probabilistic results. With experiments in two typical scenarios, including intersection and roundabout, the proposed method can obtain reasonable prediction accuracy and generalizability. Meanwhile, abundant experiments are conducted and the results are compared, which reveal some common problems when predicting vehicle trajectories, particularly based on drivers' cognitive characteristics. These lessons learned from this study are summarized which may be useful for newcomers.