Method and apparatus for generating a road map, electronic device, and non-transitory computer storage medium are disclosed, including: inputting a remote sensing image into a first neural network to extract first road feature information of multiple channels via the first neural network; inputting the first road feature information of multiple channels into a third neural network, to extract third road feature information of multiple channels via the third neural network, where the third neural network is a neural network trained by using road direction information as supervision information; fusing the first road feature information and the third road feature information; and generating a road map according to a fusion result.
展开▼