detectron2
copied
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Readme
Files and versions
12 lines
305 B
12 lines
305 B
import os
|
|
try:
|
|
import detectron2
|
|
except ModuleNotFoundError:
|
|
os.system("git clone https://github.com/facebookresearch/detectron2.git")
|
|
os.system("python -m pip install -e detectron2")
|
|
|
|
from .detectron import Detectron2
|
|
|
|
|
|
def detectron2(*args, **kwargs):
|
|
return Detectron2(*args, **kwargs)
|