Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed upscaling with transparency #2457

Merged
merged 1 commit into from Jan 12, 2024

Conversation

RunDevelopment
Copy link
Member

Fixes #2455.

The issue was the alpha we get from black & white images is not guaranteed to be normalized (it can be >1). Since #2407 removed normalization for performance reasons, those non-normalized values could be observed by other nodes.

The fix is to clip those alpha values in range.

@joeyballentine joeyballentine merged commit acd6b17 into chaiNNer-org:main Jan 12, 2024
14 checks passed
@RunDevelopment RunDevelopment deleted the issue2455 branch January 12, 2024 20:15
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.

Upscaling with transparency broken on 0.21.0
2 participants