Skip to content

Bug: Colab notebook broken by NumPy 2.0 release and syntax errors in the "IMPORTANT" patch cell #23

@ywchanna2001

Description

@ywchanna2001

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.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions