I see the Note in the Installation that said "you often need to rebuild detectron2 after reinstalling PyTorch.", but there are multiple commands in that section, as
```git clone https://github.com/facebookresearch/detectron2.git
cd detectron2
pip install -e .
pip install, use```
So my question is whether the "pip install -e ." is the rebuild operation other than any others?
You need to rm -rf build **/*.so and then rerun pip install
@ppwwyyxx , thank you for your reponse!
I see there is something about .so, so Detectron2 is not a pure Python library, am I right?
You're right.
@ppwwyyxx Thank you for the explanation.
Happy new year!!!
@ppwwyyxx , I still have a little quetion that, as the Installation that said "you often need to rebuild detectron2 after reinstalling PyTorch.", does it mean that Detectron2 is strongly dependent on the version PyTorch, so if we reinstalled another version of PyTorch, we would need to our Detectron2 so they could be compatible, am I right?
Yes.