Skip to content

fix: update NumPy compatibility for v1.24+ and fix deprecated type al…#1027

Open
ADCREW-LLC wants to merge 1 commit intoOpenTalker:mainfrom
ADCREW-LLC:main
Open

fix: update NumPy compatibility for v1.24+ and fix deprecated type al…#1027
ADCREW-LLC wants to merge 1 commit intoOpenTalker:mainfrom
ADCREW-LLC:main

Conversation

@ADCREW-LLC
Copy link

…iases

  • Update numpy version to 1.26.4 across all requirement files
  • Replace deprecated np.int with np.int_ for NumPy 2.x compatibility
  • Replace deprecated np.float with np.float64 for explicit precision
  • Add try-except block to handle removed VisibleDeprecationWarning in NumPy 2.x
  • Fix type conversion in align_img to ensure float dtype for trans_params array

These changes ensure compatibility with modern NumPy versions while maintaining backward compatibility.

…iases

- Update numpy version to 1.26.4 across all requirement files
- Replace deprecated np.int with np.int_ for NumPy 2.x compatibility
- Replace deprecated np.float with np.float64 for explicit precision
- Add try-except block to handle removed VisibleDeprecationWarning in NumPy 2.x
- Fix type conversion in align_img to ensure float dtype for trans_params array

These changes ensure compatibility with modern NumPy versions while maintaining backward compatibility.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant