Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
MinerU
Commits
e9ace3eb
Commit
e9ace3eb
authored
Nov 24, 2024
by
icecraft
Browse files
fix: remove unused file
parent
ae379e6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
19 deletions
+0
-19
magic_pdf/model/types.py
magic_pdf/model/types.py
+0
-19
No files found.
magic_pdf/model/types.py
deleted
100644 → 0
View file @
ae379e6b
import
os
from
magic_pdf.data.data_reader_writer
import
FileBasedDataWriter
from
magic_pdf.data.dataset
import
Dataset
class
InferenceResult
:
def
__init__
(
self
,
inference_results
:
list
,
dataset
:
Dataset
):
self
.
_infer_res
=
inference_results
self
.
_dataset
=
dataset
def
draw_model
(
self
,
writer
:
FileBasedDataWriter
,
dump_file_path
:
str
):
dir_name
=
os
.
path
.
dirname
(
dump_file_path
)
if
dir_name
not
in
(
''
,
'.'
,
'..'
):
os
.
makedirs
(
dir_name
,
exist_ok
=
True
)
def
get_infer_res
(
self
):
return
self
.
_infer_res
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment