Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants