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

Fix: model load for newer python and torch versions #260

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

Gornoka
Copy link

@Gornoka Gornoka commented Feb 11, 2025

Hi,
This branch primarily includes some minor fixes to the requirements and code so that the repo runs with Python 3.13 and current pytorch versions. But also includes some additional changes I needed/wanted personally.

  • when given a folder instead of a file it will iterate over all images in the folder
  • force image resize before inference ( large images created huge VRAM consumption before)

Please let me know if you are interested in any of these changes, or not.

With kind regards
Gornoka

@Gornoka Gornoka changed the title Fix: model load for newer pythons Fix: model load for newer python and torch versions Feb 11, 2025
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