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

Update some augmentations to work with new version of numpy #442

Open
wants to merge 5 commits into
base: dev
Choose a base branch
from

Conversation

MarieRoald
Copy link
Contributor

I got errors when I tried to use the highlighter effect. It turned out that the std_range was integers but stored as floating point numbers. random.randint needs integers, so by explicitly casting to int, the code works again.

@MarieRoald
Copy link
Contributor Author

I encountered the same issue with BadPhotoCopy, so I casted those numpy-types to native types as well

@MarieRoald MarieRoald changed the title Update inkgenerator to work with new version of numpy Update some augmentations to work with new version of numpy Sep 23, 2024
@kwcckw
Copy link
Collaborator

kwcckw commented Sep 23, 2024

I encountered the same issue with BadPhotoCopy, so I casted those numpy-types to native types as well

Thanks, could you show me the error again and the version of numpy that's causing the error?

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.

2 participants