You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The above will fail as torch is not already available and not installed as a dependency
Desired behavior:
If detectron2 included torch as a stated dependency, it would make fresh install more straightforward. It currently crashes without a useful error message due to the import torch statement in setup.py
This limits the usefulness of using clean virtual environments (with repeatable requirements.txt) as a manual install of pytorch is required first
The text was updated successfully, but these errors were encountered:
mdvthu
changed the title
Please read & provide the following
Detectron doesn't depend on torch
Mar 2, 2024
mdvthu
changed the title
Detectron doesn't depend on torch
Detectron doesn't include torch as a formal dependency
Mar 2, 2024
Instructions To Reproduce the 🐛 Bug:
The above will fail as torch is not already available and not installed as a dependency
Desired behavior:
If
detectron2
included torch as a stated dependency, it would make fresh install more straightforward. It currently crashes without a useful error message due to theimport torch
statement insetup.py
This limits the usefulness of using clean virtual environments (with repeatable requirements.txt) as a manual install of pytorch is required first
The text was updated successfully, but these errors were encountered: