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

modified inference script and custom preprocessing script #1

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

Conversation

BBC-Esq
Copy link

@BBC-Esq BBC-Esq commented Sep 26, 2024

Added two files:

  1. A modified preprocessing script that removes the complex tensorflow dependencies and instead relies on torch and torchvision, which are already dependencies anyways...so why use tensorflow at all?

  2. An inference script that works assuming you use the modified image_preprocessing_molmo.py script provided above. NOTE: this script differs from the original inference script also in that it takes a hardcoded path to the molmo repository files instead of relying on the repo id and automatically downloading them. Feel free to modify for your use-case, however.

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