Accelerated Sampling of Rare Events using a Neural Network Bias Potential