Inverse problem of photoelastic fringe mapping using neural networks