NVlabs / ODISE

Official PyTorch implementation of ODISE: Open-Vocabulary Panoptic Segmentation with Text-to-Image Diffusion Models [CVPR 2023 Highlight]
https://arxiv.org/abs/2303.04803
Other
864 stars 49 forks source link

Installation puts too-new version of numpy #31

Open cipri-tom opened 1 year ago

cipri-tom commented 1 year ago

When installing following the instructions in the readme, we end up with numpy version 1.25.2

This breaks detectron2 visualizer, which throws error: module ‘numpy‘ has no attribute ‘bool‘.

Therefore, I needed to downgrade numpy to v1.23.: `conda install numpy==1.23.`

Then it works as expected