I am trying to run the Molusce tool using rasters having no data

While running evaluating correlation returning nan

When I am running the Transition Potential Modelling, QGIS is getting hung.

The problem is in the backend MOLUSCE uses numpy Python library which cannot handle no data. So, how can I preprocess the spatial variables so that it can be handled by numpy Python library properly?
Please help me.