You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
284 B
Python
14 lines
284 B
Python
8 months ago
|
# -*- coding: utf-8 -*-
|
||
|
# @Time : 2019/12/5 15:17
|
||
|
# @Author : zhoujun
|
||
|
|
||
|
from .seg_detector_representer import SegDetectorRepresenter
|
||
|
|
||
|
|
||
|
def get_post_processing(config):
|
||
|
try:
|
||
|
cls = eval(config["type"])(**config["args"])
|
||
|
return cls
|
||
|
except:
|
||
|
return None
|