Convolutional Neural Networks for Predicting the strength of the Near-Earth Magnetic Field Caused by Interplanetary Coronal Mass Ejections