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

detectron 2 installed by installdeps.sh still uses Image.LINEAR #405

Open
MittelmanDaniel opened this issue Oct 1, 2023 · 1 comment
Open
Assignees

Comments

@MittelmanDaniel
Copy link

MittelmanDaniel commented Oct 1, 2023

🐛 Bug

When attempting to run the demo setup linked here:

https://github.com/facebookresearch/home-robot/blob/main/projects/habitat_ovmm/README.md#demo-setup

An error is thrown stating PIL.Image has no attribute LINEAR

image

Steps to Reproduce

Steps to reproduce the behavior:
Install the dependencies using installdeps.sh

After setting up the environment in the readme and downloading OVMM data from hugging face run the demo script linked above.

Expected behavior

I'm not sure what this Demo is supposed to do, but I expected it to not error.

Additional context

This is a closed issue on the detectron github: facebookresearch/detectron2#5010

I think this is caused by install_deps downloading an old branch instead of the current master.

@yvsriram
Copy link
Contributor

yvsriram commented Oct 2, 2023

Thanks for creating the issue and thanks for pointing to the detectron issue. Seems like your env has Pillow >=10.0.0 as opposed to 9.4.0 in my envs. We will check on this and pin the pillow version if needed. Meanwhile, can you please update the pillow version to 9.4.0 and retry?

@yvsriram yvsriram self-assigned this Oct 2, 2023
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

No branches or pull requests

2 participants