Machine learning of percolation models using graph convolutional neural networks