imdb loader still in testing phase - v3 nearly there
Browse files
DUDE_imdb_loader.py
CHANGED
@@ -55,7 +55,7 @@ def save_json(json_path, data):
|
|
55 |
def get_images_pdf2image(document_filepath, chunksize=10):
|
56 |
info = pdf2image.pdfinfo_from_path(document_filepath, userpw=None, poppler_path=None)
|
57 |
maxPages = info["Pages"]
|
58 |
-
maxPages = min(
|
59 |
|
60 |
# logger.info(f"{document_filepath} has {str(maxPages)} pages")
|
61 |
images = []
|
|
|
55 |
def get_images_pdf2image(document_filepath, chunksize=10):
|
56 |
info = pdf2image.pdfinfo_from_path(document_filepath, userpw=None, poppler_path=None)
|
57 |
maxPages = info["Pages"]
|
58 |
+
maxPages = min(MAX_PAGES, maxPages)
|
59 |
|
60 |
# logger.info(f"{document_filepath} has {str(maxPages)} pages")
|
61 |
images = []
|
data/DUDE_train-val-test_binaries.tar.gz
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:9bf0d07fd9a91070d2541c667d45b71d18257d1c0d3d43701e1abd5c730c56e4
|
3 |
-
size 11453312313
|
|
|
|
|
|
|
|