We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
def is_poly(segm): assert isinstance(segm, (list, dict)), "Invalid segm type: {}".format(type(segm)) return isinstance(segm, list) 这玩意儿是不是写得太草率了,就只做了类型判断,segm内部元素格式也不判断,也不验证segm是不是真的Polygon
The text was updated successfully, but these errors were encountered:
而且一些op增广gt_poly数据时需要ndarray,一些又需要list类型,有点混乱
Sorry, something went wrong.
nemonameless
No branches or pull requests
问题确认 Search before asking
需求描述 Feature Description
def is_poly(segm):
assert isinstance(segm, (list, dict)),
"Invalid segm type: {}".format(type(segm))
return isinstance(segm, list)
这玩意儿是不是写得太草率了,就只做了类型判断,segm内部元素格式也不判断,也不验证segm是不是真的Polygon
是否愿意提交PR Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: