Files
ECCV2022-RIFE/Colab_demo.ipynb
Chris Morang afdb532dad Fix NumPy Deprecation Issues in scikit-video
This commit resolves compatibility issues in scikit-video caused by NumPy's deprecated type aliases (`np.float`, `np.int`, `np.bool`). 

### Issue:
- Recent versions of NumPy (>=1.20) removed these deprecated aliases, causing scikit-video to raise warnings and fail in certain cases.
- Downgrading NumPy to an older version (e.g., 1.16.0) is not a viable workaround as it fails to build properly in Colab due to pip installation issues.

### Changes:
- Updated all instances of `np.float`, `np.int`, `np.bool` to their respective built-in types (`float`, `int`, `bool`).
- Ensured compatibility with both older and newer NumPy versions.
- Verified functionality in Google Colab and Python 3.10 environments.

### Impact:
 Eliminates NumPy deprecation warnings.  
 Prevents compatibility issues in Google Colab and newer Python versions.  
 Ensures stability and smooth functioning of scikit-video with NumPy (>=1.20).  

Fixes: #Issue_Number (Replace with actual issue reference)
2025-02-12 01:18:45 +05:30

3.2 KiB