Can't use detectron2 even after installing. #3462
-
I'm trying to run a simple program based on the detectron2 collab tutorial. I'm fairly new to detectron2, before this I only used detectron (so I have cuda and cudnn already setup). I've followed the instructions on the website many times, however when I try running any code that imports detectron2 , it says "detectron2 is not a package" My CodeThis is the code I'm trying to run (my editor is VSCode):
ErrorHowever I get the following error when I run
SpecsThese are my specs:
What I did
Additional Notes
Any help in this would be phenomenal, thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You cannot name your own file |
Beta Was this translation helpful? Give feedback.
You cannot name your own file
detectron2.py
if you want to import the detectron2 library.