How to run detectron2 with pycharm? #3719
Unanswered
mrtkhosravi
asked this question in
Q&A
Replies: 1 comment
-
did you "build" Detectron2? Needs to be done after installing torch and torchvision.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've built detectron2 on my ubuntu 20.04. I use conda as environment manager. Detectron2 is installed in conda environment.
when I use detectron in terminal it works:
but when I run
train_net.py
with pycharm, it errors out. Pycharm's python console is like this:I tested the environment in code and it confirms the code is running in correct conda env:
and it returns
ENV: detectron2
which is the correct value.Beta Was this translation helpful? Give feedback.
All reactions