Deep learning for retrieval of the internuclear distance in a molecule from interference patterns in photoelectron momentum distributions