First of all, deeply appreciated to this contribution.
Informed by the tutorial, I tried to use more girds in activation function approximation by model.refine() after training with less grids. However, NaN occurred in my training outputs.
Unfortunately, I found that the NaN appeared just follow the application of model.refine().
How to settle it?