-
Notifications
You must be signed in to change notification settings - Fork 0
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
Neural Style Transfer v1.0.0 Release #8
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…re-patterns' package from pypi
…Process on subsequent processes The Neural Style Transfer (NST) Algorithm initially produces a random variant of the Content Image called, 'Noisy Content' (NC) Image, that it uses for subsequent operations, such as computing the Content Cost (Jc). This NC Image is produced by sampling a Random number from a Uniform Distribution with values in [-20, 20] and applying formula 'pixel_value * ratio + pixel_value * (1 - ratio)' for all pixel values. Previously, the NST algorithm would implement sampling from a Uniform Distribution, by initializing a Stochastic Process (able to generate numbers from the Uniform Distribution) with a seed number specified by the numpy backend. Now, we hard-code as 'Default Seed Number' the number 1234, which is used to initialize the Stochastic Process. This way, every new os process running the NST algorithm (ie invoking the CLI subsequent times), on the same Content Image, would produce the same NC Image, since the samples taken from the underlying Uniform Distribution, would be implemented by running the Stochastic Process with same Seed value (1234).
… render UI accordingly
…le) yields same Generated Image This behaviour of course is tested when running the NST algorithm on different OS processes. So, we gain confidence that the results are completely reproducible.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
1.0.0 (2023-10-29)
Changes
feature
"""""""
test
""""
documentation
"""""""""""""
development
"""""""""""
refactor
""""""""
build
"""""
ci
""
release
"""""""
demo
""""
tox
"""
config
""""""