lucasjinreal / lucasjinreal/Namo-R1

Please update the pypi release to allow passing PIL images to generate

Open
#17 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
256
Forks
26
PR merge metrics
No merged PRs in 30d

Description

As the title says: In namo version `0.0.6` it is not possible to pass PIL images to the `generate` method. It seems that has been fixed here in the repo ([infer_utils.py](https://github.com/lucasjinreal/Namo-R1/blob/main/namo/utils/infer_utils.py#L16-L17)), but it's not on pypi. Would be great to publish a new version so that Namo is usable in other contexts.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the referenced changes in namo/utils/infer_utils.py at lines 16-17 and compare them with the behavior in the PyPI 0.0.6 package. Verify that generate accepts PIL images, then check the project's release instructions or package metadata before publishing a new version; done means the updated behavior is available from PyPI.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
release
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.