Skip to content

Instantly share code, notes, and snippets.

@THEFASHIONGEEK
Last active February 21, 2020 04:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save THEFASHIONGEEK/c76cc06f7417b1402b0fb0751905b1d3 to your computer and use it in GitHub Desktop.
Save THEFASHIONGEEK/c76cc06f7417b1402b0fb0751905b1d3 to your computer and use it in GitHub Desktop.
import os
import sys
sys.path.append("../../4_efficientdet/lib/")
from infer_detector import Infer
gtf = Infer()
gtf.Model(model_dir="trained/")
scores, labels, boxes = gtf.Predict(img_path, class_list, vis_threshold=0.4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment