"...git@developer.sourcefind.cn:chenpangpang/open-webui.git" did not exist on "0b8f5c22326b8c4c4c82f7f126faec73ddf97ae4"
Commit 46efa8a1 authored by WenmuZhou's avatar WenmuZhou
Browse files

rm unused code

parent 8259d256
...@@ -40,13 +40,6 @@ MODELS = { ...@@ -40,13 +40,6 @@ MODELS = {
(LayoutLMTokenizer, LayoutLMModel, LayoutLMForTokenClassification) (LayoutLMTokenizer, LayoutLMModel, LayoutLMForTokenClassification)
} }
MODELS = {
'LayoutXLM':
(LayoutXLMTokenizer, LayoutXLMModel, LayoutXLMForTokenClassification),
'LayoutLM':
(LayoutLMTokenizer, LayoutLMModel, LayoutLMForTokenClassification)
}
def trans_poly_to_bbox(poly): def trans_poly_to_bbox(poly):
x1 = np.min([p[0] for p in poly]) x1 = np.min([p[0] for p in poly])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment