The AF_cluster_in_colab.ipynb notebook is currently unusable in Google Colab due to the recent NumPy 2.0 update. While the notebook contains an "IMPORTANT" patch cell intended to downgrade NumPy, that cell contains syntax errors that prevent it from executing correctly, leaving the environment in a broken state.
The Error:
When running the prep_inputs cell, the following error occurs:
AttributeError: np.NaNwas removed in the NumPy 2.0 release. Usenp.nan instead.

The AF_cluster_in_colab.ipynb notebook is currently unusable in Google Colab due to the recent NumPy 2.0 update. While the notebook contains an "IMPORTANT" patch cell intended to downgrade NumPy, that cell contains syntax errors that prevent it from executing correctly, leaving the environment in a broken state.
The Error:
When running the prep_inputs cell, the following error occurs:
AttributeError:np.NaNwas removed in the NumPy 2.0 release. Usenp.naninstead.