diff --git "a/topic_extraction.log" "b/topic_extraction.log" --- "a/topic_extraction.log" +++ "b/topic_extraction.log" @@ -1192,3 +1192,2259 @@ and series'. Using page 7. 2025-03-03 14:13:31,102 [INFO] __main__ - Final subtopics JSON saved locally at /home/user/app/we/final_subtopics.json 2025-03-03 14:13:31,434 [INFO] __main__ - GPU memory cleaned up. 2025-03-03 14:13:31,442 [INFO] __main__ - Processing completed successfully. +2025-03-03 14:35:18,303 [INFO] __main__ - Running in test mode: using local image writer. +2025-03-03 14:35:18,304 [INFO] __main__ - Processing PDF: /home/user/app/input_output/wjec-gce-maths-spec-from-2017-e.pdf +2025-03-03 14:35:18,304 [ERROR] __main__ - Could not open PDF: [Errno 2] No such file or directory: '/home/user/app/input_output/wjec-gce-maths-spec-from-2017-e.pdf' +2025-03-03 14:35:18,304 [ERROR] __main__ - No text from first pages => cannot extract subtopics. +2025-03-03 14:35:18,304 [INFO] __main__ - Gemini returned subtopics: {} +2025-03-03 14:35:18,576 [INFO] __main__ - GPU memory cleaned up. +2025-03-03 14:35:18,576 [ERROR] __main__ - Processing failed: [Errno 2] No such file or directory: '/home/user/app/input_output/wjec-gce-maths-spec-from-2017-e.pdf' +2025-03-03 14:36:15,476 [INFO] __main__ - Running in test mode: using local image writer. +2025-03-03 14:36:15,476 [INFO] __main__ - Processing PDF: /home/user/app/input_output/a-level-pearson-mathematics-specification.pdf +2025-03-03 14:36:16,171 [INFO] __main__ - Gemini returned subtopics: {'Paper 1 and Paper 2: Pure Mathematics': [11, 29], 'Paper 3: Statistics and Mechanics': [30, 40]} +2025-03-03 14:36:16,172 [INFO] __main__ - Loaded 1135473 bytes from local file '/home/user/app/input_output/a-level-pearson-mathematics-specification.pdf' +2025-03-03 14:36:16,326 [INFO] __main__ - Occurrences of subtopic 'Paper 1 and Paper 2: Pure Mathematics': [2, 3, 4, 14] +2025-03-03 14:36:16,513 [INFO] __main__ - Occurrences of subtopic 'Paper 3: Statistics and Mechanics': [3, 4, 9, 13, 33, 44] +2025-03-03 14:36:16,514 [INFO] __main__ - Processing pages (0-based): [14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43] +2025-03-03 14:37:10,283 [INFO] __main__ - doc_analyze complete. Extracting images. +2025-03-03 14:37:18,985 [INFO] __main__ - Classifying images to detect tables. +2025-03-03 14:37:47,492 [INFO] __main__ - Processing table image => img_1.jpg, columns=three +2025-03-03 14:37:50,068 [INFO] __main__ - Processing table image => img_2.jpg, columns=three +2025-03-03 14:37:52,978 [INFO] __main__ - Processing table image => img_3.jpg, columns=three +2025-03-03 14:37:56,011 [INFO] __main__ - Processing table image => img_4.jpg, columns=three +2025-03-03 14:37:58,952 [INFO] __main__ - Processing table image => img_5.jpg, columns=three +2025-03-03 14:38:02,311 [INFO] __main__ - Processing table image => img_6.jpg, columns=three +2025-03-03 14:38:05,509 [INFO] __main__ - Processing table image => img_7.jpg, columns=three +2025-03-03 14:38:08,662 [INFO] __main__ - Processing table image => img_8.jpg, columns=three +2025-03-03 14:38:11,711 [INFO] __main__ - Processing table image => img_9.jpg, columns=three +2025-03-03 14:38:15,102 [INFO] __main__ - Processing table image => img_10.jpg, columns=three +2025-03-03 14:38:18,262 [INFO] __main__ - Processing table image => img_11.jpg, columns=two +2025-03-03 14:38:21,059 [INFO] __main__ - Processing table image => img_12.jpg, columns=three +2025-03-03 14:38:23,975 [INFO] __main__ - Processing table image => img_13.jpg, columns=three +2025-03-03 14:38:26,770 [INFO] __main__ - Processing table image => img_14.jpg, columns=three +2025-03-03 14:38:30,620 [INFO] __main__ - Processing table image => img_15.jpg, columns=three +2025-03-03 14:38:33,945 [INFO] __main__ - Processing table image => img_16.jpg, columns=three +2025-03-03 14:38:37,404 [INFO] __main__ - Processing table image => img_17.jpg, columns=three +2025-03-03 14:38:40,601 [INFO] __main__ - Processing table image => img_18.jpg, columns=three +2025-03-03 14:38:41,459 [INFO] __main__ - Processing table image => img_19.jpg, columns=three +2025-03-03 14:38:44,087 [INFO] __main__ - Processing table image => img_20.jpg, columns=three +2025-03-03 14:38:47,631 [INFO] __main__ - Processing table image => img_21.jpg, columns=three +2025-03-03 14:38:50,716 [INFO] __main__ - Processing table image => img_22.jpg, columns=three +2025-03-03 14:38:54,125 [INFO] __main__ - Processing table image => img_23.jpg, columns=three +2025-03-03 14:38:57,256 [INFO] __main__ - Processing table image => img_24.jpg, columns=three +2025-03-03 14:39:00,533 [INFO] __main__ - Processing table image => img_25.jpg, columns=two +2025-03-03 14:39:03,631 [INFO] __main__ - Processing table image => img_26.jpg, columns=three +2025-03-03 14:39:06,279 [INFO] __main__ - Processing table image => img_27.jpg, columns=three +2025-03-03 14:39:08,942 [INFO] __main__ - Processing table image => img_28.jpg, columns=two +2025-03-03 14:39:11,877 [INFO] __main__ - Final JSON saved locally at /home/user/app/wje/final_output.json +2025-03-03 14:39:11,877 [INFO] __main__ - Final JSON saved locally at /home/user/app/wje/final_output_local.json +2025-03-03 14:39:12,200 [INFO] __main__ - GPU memory cleaned up. +2025-03-03 14:39:12,207 [INFO] __main__ - Processing completed successfully. +2025-03-03 14:40:32,170 [INFO] __main__ - Processing PDF: /home/user/app/input_output/a-level-pearson-mathematics-specification.pdf +2025-03-03 14:40:32,970 [INFO] __main__ - Gemini returned subtopics: {'Paper 1 and Paper 2: Pure Mathematics': [11, 29], 'Paper 3: Statistics and Mechanics': [30, 40]} +2025-03-03 14:40:32,971 [INFO] __main__ - Loaded 1135473 bytes from local file '/home/user/app/input_output/a-level-pearson-mathematics-specification.pdf' +2025-03-03 14:40:33,339 [INFO] __main__ - Computed global offset: 4 +2025-03-03 14:40:33,340 [INFO] __main__ - Processing pages (0-based): [14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43] +2025-03-03 14:41:29,053 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_1.jpg +2025-03-03 14:41:30,998 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_2.jpg +2025-03-03 14:41:31,535 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_3.jpg +2025-03-03 14:41:32,063 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_4.jpg +2025-03-03 14:41:32,706 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_5.jpg +2025-03-03 14:41:33,299 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_6.jpg +2025-03-03 14:41:33,822 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_7.jpg +2025-03-03 14:41:34,284 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_8.jpg +2025-03-03 14:41:34,858 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_9.jpg +2025-03-03 14:41:35,387 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_10.jpg +2025-03-03 14:41:35,909 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_11.jpg +2025-03-03 14:41:36,445 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_12.jpg +2025-03-03 14:41:36,898 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_13.jpg +2025-03-03 14:41:37,505 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_14.jpg +2025-03-03 14:41:38,061 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_15.jpg +2025-03-03 14:41:38,617 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_16.jpg +2025-03-03 14:41:39,193 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_17.jpg +2025-03-03 14:41:39,510 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_18.jpg +2025-03-03 14:41:39,998 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_19.jpg +2025-03-03 14:41:40,612 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_20.jpg +2025-03-03 14:41:41,206 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_21.jpg +2025-03-03 14:41:41,798 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_22.jpg +2025-03-03 14:41:42,242 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_23.jpg +2025-03-03 14:41:42,723 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_24.jpg +2025-03-03 14:41:43,337 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_25.jpg +2025-03-03 14:41:43,795 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_26.jpg +2025-03-03 14:41:44,246 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_27.jpg +2025-03-03 14:41:44,848 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_28.jpg +2025-03-03 14:41:45,258 [INFO] __main__ - Classifying images to detect tables. +2025-03-03 14:41:49,188 [INFO] __main__ - Processing table image: /topic-extraction/img_1.jpg, columns=three +2025-03-03 14:41:52,437 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_1.jpg_r0_c0.jpg +2025-03-03 14:41:52,752 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_1.jpg_r0_c1.jpg +2025-03-03 14:41:52,968 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_1.jpg_r1_c0.jpg +2025-03-03 14:41:53,195 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_1.jpg_r1_c1.jpg +2025-03-03 14:41:53,696 [INFO] __main__ - Processing table image: /topic-extraction/img_2.jpg, columns=three +2025-03-03 14:41:57,147 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_2.jpg_r0_c0.jpg +2025-03-03 14:41:57,453 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_2.jpg_r0_c1.jpg +2025-03-03 14:41:57,682 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_2.jpg_r1_c0.jpg +2025-03-03 14:41:57,910 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_2.jpg_r2_c0.jpg +2025-03-03 14:41:58,166 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_2.jpg_r3_c0.jpg +2025-03-03 14:41:58,667 [INFO] __main__ - Processing table image: /topic-extraction/img_3.jpg, columns=three +2025-03-03 14:42:02,140 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_3.jpg_r0_c0.jpg +2025-03-03 14:42:02,430 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_3.jpg_r0_c1.jpg +2025-03-03 14:42:02,663 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_3.jpg_r1_c0.jpg +2025-03-03 14:42:03,164 [INFO] __main__ - Processing table image: /topic-extraction/img_4.jpg, columns=three +2025-03-03 14:42:06,264 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_4.jpg_r0_c0.jpg +2025-03-03 14:42:06,558 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_4.jpg_r0_c1.jpg +2025-03-03 14:42:06,783 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_4.jpg_r1_c0.jpg +2025-03-03 14:42:06,996 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_4.jpg_r1_c1.jpg +2025-03-03 14:42:07,497 [INFO] __main__ - Processing table image: /topic-extraction/img_5.jpg, columns=three +2025-03-03 14:42:11,013 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_5.jpg_r0_c0.jpg +2025-03-03 14:42:11,312 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_5.jpg_r0_c1.jpg +2025-03-03 14:42:11,503 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_5.jpg_r1_c0.jpg +2025-03-03 14:42:11,721 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_5.jpg_r1_c1.jpg +2025-03-03 14:42:11,982 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_5.jpg_r2_c0.jpg +2025-03-03 14:42:12,484 [INFO] __main__ - Processing table image: /topic-extraction/img_6.jpg, columns=three +2025-03-03 14:42:16,389 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_6.jpg_r0_c0.jpg +2025-03-03 14:42:16,683 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_6.jpg_r0_c1.jpg +2025-03-03 14:42:16,900 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_6.jpg_r1_c0.jpg +2025-03-03 14:42:17,133 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_6.jpg_r1_c1.jpg +2025-03-03 14:42:17,634 [INFO] __main__ - Processing table image: /topic-extraction/img_7.jpg, columns=three +2025-03-03 14:42:21,186 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_7.jpg_r0_c0.jpg +2025-03-03 14:42:21,499 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_7.jpg_r0_c1.jpg +2025-03-03 14:42:21,717 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_7.jpg_r1_c0.jpg +2025-03-03 14:42:22,011 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_7.jpg_r2_c0.jpg +2025-03-03 14:42:22,248 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_7.jpg_r2_c1.jpg +2025-03-03 14:42:22,750 [INFO] __main__ - Processing table image: /topic-extraction/img_8.jpg, columns=three +2025-03-03 14:42:26,069 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r0_c0.jpg +2025-03-03 14:42:26,374 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r0_c1.jpg +2025-03-03 14:42:26,616 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r0_c2.jpg +2025-03-03 14:42:26,848 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r1_c0.jpg +2025-03-03 14:42:27,062 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r1_c1.jpg +2025-03-03 14:42:27,295 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r1_c2.jpg +2025-03-03 14:42:27,507 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r2_c0.jpg +2025-03-03 14:42:27,736 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r2_c1.jpg +2025-03-03 14:42:27,960 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r3_c0.jpg +2025-03-03 14:42:28,170 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r3_c1.jpg +2025-03-03 14:42:28,377 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r4_c0.jpg +2025-03-03 14:42:28,613 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r4_c1.jpg +2025-03-03 14:42:28,846 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r5_c0.jpg +2025-03-03 14:42:29,068 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r5_c1.jpg +2025-03-03 14:42:29,569 [INFO] __main__ - Processing table image: /topic-extraction/img_9.jpg, columns=three +2025-03-03 14:42:33,545 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r0_c0.jpg +2025-03-03 14:42:33,843 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r0_c1.jpg +2025-03-03 14:42:34,053 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r0_c2.jpg +2025-03-03 14:42:34,267 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r1_c0.jpg +2025-03-03 14:42:34,488 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r1_c1.jpg +2025-03-03 14:42:34,706 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r2_c0.jpg +2025-03-03 14:42:34,914 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r2_c1.jpg +2025-03-03 14:42:35,159 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r3_c0.jpg +2025-03-03 14:42:35,367 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r3_c1.jpg +2025-03-03 14:42:35,867 [INFO] __main__ - Processing table image: /topic-extraction/img_10.jpg, columns=three +2025-03-03 14:42:39,999 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_10.jpg_r0_c0.jpg +2025-03-03 14:42:40,351 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_10.jpg_r0_c1.jpg +2025-03-03 14:42:40,572 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_10.jpg_r1_c0.jpg +2025-03-03 14:42:40,781 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_10.jpg_r2_c0.jpg +2025-03-03 14:42:40,969 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_10.jpg_r3_c0.jpg +2025-03-03 14:42:41,470 [INFO] __main__ - Processing table image: /topic-extraction/img_11.jpg, columns=two +2025-03-03 14:42:44,724 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_11.jpg_r0_c0.jpg +2025-03-03 14:42:45,053 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_11.jpg_r1_c0.jpg +2025-03-03 14:42:45,266 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_11.jpg_r2_c0.jpg +2025-03-03 14:42:45,496 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_11.jpg_r3_c0.jpg +2025-03-03 14:42:45,715 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_11.jpg_r4_c0.jpg +2025-03-03 14:42:45,925 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_11.jpg_r5_c0.jpg +2025-03-03 14:42:46,426 [INFO] __main__ - Processing table image: /topic-extraction/img_12.jpg, columns=three +2025-03-03 14:42:50,046 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_12.jpg_r0_c0.jpg +2025-03-03 14:42:50,340 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_12.jpg_r0_c1.jpg +2025-03-03 14:42:50,548 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_12.jpg_r1_c0.jpg +2025-03-03 14:42:50,760 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_12.jpg_r1_c1.jpg +2025-03-03 14:42:50,979 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_12.jpg_r2_c0.jpg +2025-03-03 14:42:51,207 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_12.jpg_r2_c1.jpg +2025-03-03 14:42:51,708 [INFO] __main__ - Processing table image: /topic-extraction/img_13.jpg, columns=three +2025-03-03 14:42:55,058 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_13.jpg_r0_c0.jpg +2025-03-03 14:42:55,385 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_13.jpg_r0_c1.jpg +2025-03-03 14:42:55,616 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_13.jpg_r1_c0.jpg +2025-03-03 14:42:55,838 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_13.jpg_r1_c1.jpg +2025-03-03 14:42:56,071 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_13.jpg_r2_c0.jpg +2025-03-03 14:42:56,293 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_13.jpg_r3_c0.jpg +2025-03-03 14:42:56,794 [INFO] __main__ - Processing table image: /topic-extraction/img_14.jpg, columns=three +2025-03-03 14:43:01,227 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r0_c0.jpg +2025-03-03 14:43:01,523 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r0_c1.jpg +2025-03-03 14:43:01,761 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r1_c0.jpg +2025-03-03 14:43:01,984 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r1_c1.jpg +2025-03-03 14:43:02,209 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r2_c0.jpg +2025-03-03 14:43:02,433 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r3_c0.jpg +2025-03-03 14:43:02,677 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r4_c0.jpg +2025-03-03 14:43:02,871 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r4_c1.jpg +2025-03-03 14:43:03,091 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r5_c0.jpg +2025-03-03 14:43:03,592 [INFO] __main__ - Processing table image: /topic-extraction/img_15.jpg, columns=three +2025-03-03 14:43:07,715 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_15.jpg_r0_c0.jpg +2025-03-03 14:43:07,982 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_15.jpg_r0_c1.jpg +2025-03-03 14:43:08,169 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_15.jpg_r1_c0.jpg +2025-03-03 14:43:08,360 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_15.jpg_r1_c1.jpg +2025-03-03 14:43:08,623 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_15.jpg_r2_c0.jpg +2025-03-03 14:43:08,855 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_15.jpg_r3_c0.jpg +2025-03-03 14:43:09,088 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_15.jpg_r4_c0.jpg +2025-03-03 14:43:09,589 [INFO] __main__ - Processing table image: /topic-extraction/img_16.jpg, columns=three +2025-03-03 14:43:13,265 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r0_c0.jpg +2025-03-03 14:43:13,580 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r0_c1.jpg +2025-03-03 14:43:13,802 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r1_c0.jpg +2025-03-03 14:43:14,017 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r1_c1.jpg +2025-03-03 14:43:14,240 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r2_c0.jpg +2025-03-03 14:43:14,444 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r3_c0.jpg +2025-03-03 14:43:14,664 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r3_c1.jpg +2025-03-03 14:43:14,882 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r4_c0.jpg +2025-03-03 14:43:15,692 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r5_c0.jpg +2025-03-03 14:43:16,193 [INFO] __main__ - Processing table image: /topic-extraction/img_17.jpg, columns=three +2025-03-03 14:43:20,159 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_17.jpg_r0_c0.jpg +2025-03-03 14:43:20,446 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_17.jpg_r0_c1.jpg +2025-03-03 14:43:20,634 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_17.jpg_r1_c0.jpg +2025-03-03 14:43:20,849 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_17.jpg_r2_c0.jpg +2025-03-03 14:43:21,057 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_17.jpg_r2_c1.jpg +2025-03-03 14:43:21,296 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_17.jpg_r3_c0.jpg +2025-03-03 14:43:21,521 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_17.jpg_r4_c0.jpg +2025-03-03 14:43:21,731 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_17.jpg_r5_c0.jpg +2025-03-03 14:43:22,232 [INFO] __main__ - Processing table image: /topic-extraction/img_18.jpg, columns=three +2025-03-03 14:43:23,394 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_18.jpg_r0_c0.jpg +2025-03-03 14:43:23,649 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_18.jpg_r0_c1.jpg +2025-03-03 14:43:23,830 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_18.jpg_r1_c0.jpg +2025-03-03 14:43:24,014 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_18.jpg_r1_c1.jpg +2025-03-03 14:43:24,515 [INFO] __main__ - Processing table image: /topic-extraction/img_19.jpg, columns=three +2025-03-03 14:43:27,381 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_19.jpg_r0_c0.jpg +2025-03-03 14:43:27,677 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_19.jpg_r0_c1.jpg +2025-03-03 14:43:27,862 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_19.jpg_r1_c0.jpg +2025-03-03 14:43:28,099 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_19.jpg_r1_c1.jpg +2025-03-03 14:43:28,327 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_19.jpg_r2_c0.jpg +2025-03-03 14:43:28,532 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_19.jpg_r2_c1.jpg +2025-03-03 14:43:29,033 [INFO] __main__ - Processing table image: /topic-extraction/img_20.jpg, columns=three +2025-03-03 14:43:33,082 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_20.jpg_r0_c0.jpg +2025-03-03 14:43:33,375 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_20.jpg_r0_c1.jpg +2025-03-03 14:43:33,565 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_20.jpg_r1_c0.jpg +2025-03-03 14:43:33,779 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_20.jpg_r1_c1.jpg +2025-03-03 14:43:34,280 [INFO] __main__ - Processing table image: /topic-extraction/img_21.jpg, columns=three +2025-03-03 14:43:37,916 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_21.jpg_r0_c0.jpg +2025-03-03 14:43:38,204 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_21.jpg_r0_c1.jpg +2025-03-03 14:43:38,389 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_21.jpg_r1_c0.jpg +2025-03-03 14:43:38,602 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_21.jpg_r1_c1.jpg +2025-03-03 14:43:39,103 [INFO] __main__ - Processing table image: /topic-extraction/img_22.jpg, columns=three +2025-03-03 14:43:43,240 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_22.jpg_r0_c0.jpg +2025-03-03 14:43:43,525 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_22.jpg_r0_c1.jpg +2025-03-03 14:43:43,724 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_22.jpg_r1_c0.jpg +2025-03-03 14:43:43,948 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_22.jpg_r1_c1.jpg +2025-03-03 14:43:44,175 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_22.jpg_r2_c0.jpg +2025-03-03 14:43:44,382 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_22.jpg_r2_c1.jpg +2025-03-03 14:43:44,580 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_22.jpg_r3_c0.jpg +2025-03-03 14:43:45,081 [INFO] __main__ - Processing table image: /topic-extraction/img_23.jpg, columns=three +2025-03-03 14:43:48,504 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_23.jpg_r0_c0.jpg +2025-03-03 14:43:48,761 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_23.jpg_r0_c1.jpg +2025-03-03 14:43:48,988 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_23.jpg_r1_c0.jpg +2025-03-03 14:43:49,194 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_23.jpg_r1_c1.jpg +2025-03-03 14:43:49,695 [INFO] __main__ - Processing table image: /topic-extraction/img_24.jpg, columns=three +2025-03-03 14:43:53,228 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_24.jpg_r0_c0.jpg +2025-03-03 14:43:53,517 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_24.jpg_r0_c1.jpg +2025-03-03 14:43:53,728 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_24.jpg_r1_c0.jpg +2025-03-03 14:43:53,961 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_24.jpg_r1_c1.jpg +2025-03-03 14:43:54,180 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_24.jpg_r2_c0.jpg +2025-03-03 14:43:54,681 [INFO] __main__ - Processing table image: /topic-extraction/img_25.jpg, columns=two +2025-03-03 14:43:57,957 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_25.jpg_r0_c0.jpg +2025-03-03 14:43:58,230 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_25.jpg_r1_c0.jpg +2025-03-03 14:43:58,415 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_25.jpg_r2_c0.jpg +2025-03-03 14:43:58,672 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_25.jpg_r3_c0.jpg +2025-03-03 14:43:58,857 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_25.jpg_r4_c0.jpg +2025-03-03 14:43:59,067 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_25.jpg_r5_c0.jpg +2025-03-03 14:43:59,568 [INFO] __main__ - Processing table image: /topic-extraction/img_26.jpg, columns=three +2025-03-03 14:44:02,774 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_26.jpg_r0_c0.jpg +2025-03-03 14:44:03,053 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_26.jpg_r0_c1.jpg +2025-03-03 14:44:03,283 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_26.jpg_r1_c0.jpg +2025-03-03 14:44:03,506 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_26.jpg_r2_c0.jpg +2025-03-03 14:44:04,007 [INFO] __main__ - Processing table image: /topic-extraction/img_27.jpg, columns=three +2025-03-03 14:44:06,977 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_27.jpg_r0_c0.jpg +2025-03-03 14:44:07,259 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_27.jpg_r0_c1.jpg +2025-03-03 14:44:07,476 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_27.jpg_r1_c0.jpg +2025-03-03 14:44:07,696 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_27.jpg_r1_c1.jpg +2025-03-03 14:44:07,914 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_27.jpg_r2_c0.jpg +2025-03-03 14:44:08,123 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_27.jpg_r3_c0.jpg +2025-03-03 14:44:08,350 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_27.jpg_r4_c0.jpg +2025-03-03 14:44:08,561 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_27.jpg_r4_c1.jpg +2025-03-03 14:44:09,062 [INFO] __main__ - Processing table image: /topic-extraction/img_28.jpg, columns=two +2025-03-03 14:44:12,602 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_28.jpg_r0_c0.jpg +2025-03-03 14:44:12,906 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_28.jpg_r1_c0.jpg +2025-03-03 14:44:13,091 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_28.jpg_r2_c0.jpg +2025-03-03 14:44:13,323 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_28.jpg_r3_c0.jpg +2025-03-03 14:44:13,828 [INFO] __main__ - Final subtopics JSON saved locally at /home/user/app/we/final_subtopics.json +2025-03-03 14:44:14,194 [INFO] __main__ - GPU memory cleaned up. +2025-03-03 14:44:14,201 [INFO] __main__ - Processing completed successfully. +2025-03-03 15:06:28,358 [INFO] __main__ - Processing PDF: /home/user/app/input_output/a-level-pearson-mathematics-specification.pdf +2025-03-03 15:06:29,190 [INFO] __main__ - Gemini returned subtopics: {'Paper 1 and Paper 2: Pure Mathematics': [11, 29], 'Paper 3: Statistics and Mechanics': [30, 40]} +2025-03-03 15:06:29,191 [INFO] __main__ - Loaded 1135473 bytes from local file '/home/user/app/input_output/a-level-pearson-mathematics-specification.pdf' +2025-03-03 15:06:29,684 [INFO] __main__ - Computed global offset: 4 +2025-03-03 15:06:29,684 [INFO] __main__ - Processing pages (0-based): [14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43] +2025-03-03 15:07:26,351 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_1.jpg +2025-03-03 15:07:28,271 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_2.jpg +2025-03-03 15:07:28,880 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_3.jpg +2025-03-03 15:07:29,380 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_4.jpg +2025-03-03 15:07:29,978 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_5.jpg +2025-03-03 15:07:30,515 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_6.jpg +2025-03-03 15:07:31,001 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_7.jpg +2025-03-03 15:07:31,467 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_8.jpg +2025-03-03 15:07:32,038 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_9.jpg +2025-03-03 15:07:32,648 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_10.jpg +2025-03-03 15:07:33,107 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_11.jpg +2025-03-03 15:07:33,683 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_12.jpg +2025-03-03 15:07:34,203 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_13.jpg +2025-03-03 15:07:34,803 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_14.jpg +2025-03-03 15:07:35,241 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_15.jpg +2025-03-03 15:07:35,821 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_16.jpg +2025-03-03 15:07:36,441 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_17.jpg +2025-03-03 15:07:36,793 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_18.jpg +2025-03-03 15:07:37,345 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_19.jpg +2025-03-03 15:07:37,943 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_20.jpg +2025-03-03 15:07:38,490 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_21.jpg +2025-03-03 15:07:39,145 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_22.jpg +2025-03-03 15:07:39,623 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_23.jpg +2025-03-03 15:07:40,159 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_24.jpg +2025-03-03 15:07:40,778 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_25.jpg +2025-03-03 15:07:41,328 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_26.jpg +2025-03-03 15:07:41,899 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_27.jpg +2025-03-03 15:07:42,663 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_28.jpg +2025-03-03 15:07:43,118 [INFO] __main__ - Classifying images to detect tables. +2025-03-03 15:07:46,985 [INFO] __main__ - Processing table image: /topic-extraction/img_1.jpg, columns=three +2025-03-03 15:07:52,030 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_1.jpg_r0_c0.jpg +2025-03-03 15:07:52,359 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_1.jpg_r0_c1.jpg +2025-03-03 15:07:52,583 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_1.jpg_r1_c0.jpg +2025-03-03 15:07:52,818 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_1.jpg_r1_c1.jpg +2025-03-03 15:07:52,819 [ERROR] __main__ - Error processing table image /topic-extraction/img_1.jpg: local variable 'recognized_main_topic' referenced before assignment +2025-03-03 15:07:52,819 [INFO] __main__ - Processing table image: /topic-extraction/img_2.jpg, columns=three +2025-03-03 15:07:56,276 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_2.jpg_r0_c0.jpg +2025-03-03 15:07:56,585 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_2.jpg_r0_c1.jpg +2025-03-03 15:07:56,773 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_2.jpg_r1_c0.jpg +2025-03-03 15:07:57,004 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_2.jpg_r2_c0.jpg +2025-03-03 15:07:57,234 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_2.jpg_r3_c0.jpg +2025-03-03 15:07:57,234 [ERROR] __main__ - Error processing table image /topic-extraction/img_2.jpg: local variable 'recognized_main_topic' referenced before assignment +2025-03-03 15:07:57,235 [INFO] __main__ - Processing table image: /topic-extraction/img_3.jpg, columns=three +2025-03-03 15:08:00,963 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_3.jpg_r0_c0.jpg +2025-03-03 15:08:01,254 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_3.jpg_r0_c1.jpg +2025-03-03 15:08:01,442 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_3.jpg_r1_c0.jpg +2025-03-03 15:08:01,442 [ERROR] __main__ - Error processing table image /topic-extraction/img_3.jpg: local variable 'recognized_main_topic' referenced before assignment +2025-03-03 15:08:01,443 [INFO] __main__ - Processing table image: /topic-extraction/img_4.jpg, columns=three +2025-03-03 15:08:04,900 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_4.jpg_r0_c0.jpg +2025-03-03 15:08:05,196 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_4.jpg_r0_c1.jpg +2025-03-03 15:08:05,413 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_4.jpg_r1_c0.jpg +2025-03-03 15:08:05,624 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_4.jpg_r1_c1.jpg +2025-03-03 15:08:05,624 [ERROR] __main__ - Error processing table image /topic-extraction/img_4.jpg: local variable 'recognized_main_topic' referenced before assignment +2025-03-03 15:08:05,624 [INFO] __main__ - Processing table image: /topic-extraction/img_5.jpg, columns=three +2025-03-03 15:08:09,549 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_5.jpg_r0_c0.jpg +2025-03-03 15:08:09,860 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_5.jpg_r0_c1.jpg +2025-03-03 15:08:10,084 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_5.jpg_r1_c0.jpg +2025-03-03 15:08:10,315 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_5.jpg_r1_c1.jpg +2025-03-03 15:08:10,529 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_5.jpg_r2_c0.jpg +2025-03-03 15:08:10,529 [ERROR] __main__ - Error processing table image /topic-extraction/img_5.jpg: local variable 'recognized_main_topic' referenced before assignment +2025-03-03 15:08:10,529 [INFO] __main__ - Processing table image: /topic-extraction/img_6.jpg, columns=three +2025-03-03 15:08:14,256 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_6.jpg_r0_c0.jpg +2025-03-03 15:08:14,539 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_6.jpg_r0_c1.jpg +2025-03-03 15:08:14,764 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_6.jpg_r1_c0.jpg +2025-03-03 15:08:14,973 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_6.jpg_r1_c1.jpg +2025-03-03 15:08:14,973 [ERROR] __main__ - Error processing table image /topic-extraction/img_6.jpg: local variable 'recognized_main_topic' referenced before assignment +2025-03-03 15:08:14,973 [INFO] __main__ - Processing table image: /topic-extraction/img_7.jpg, columns=three +2025-03-03 15:08:18,857 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_7.jpg_r0_c0.jpg +2025-03-03 15:08:19,176 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_7.jpg_r0_c1.jpg +2025-03-03 15:08:19,406 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_7.jpg_r1_c0.jpg +2025-03-03 15:08:19,628 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_7.jpg_r2_c0.jpg +2025-03-03 15:08:19,815 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_7.jpg_r2_c1.jpg +2025-03-03 15:08:19,815 [ERROR] __main__ - Error processing table image /topic-extraction/img_7.jpg: local variable 'recognized_main_topic' referenced before assignment +2025-03-03 15:08:19,815 [INFO] __main__ - Processing table image: /topic-extraction/img_8.jpg, columns=three +2025-03-03 15:08:23,570 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r0_c0.jpg +2025-03-03 15:08:23,858 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r0_c1.jpg +2025-03-03 15:08:24,110 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r0_c2.jpg +2025-03-03 15:08:24,345 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r1_c0.jpg +2025-03-03 15:08:24,563 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r1_c1.jpg +2025-03-03 15:08:24,779 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r1_c2.jpg +2025-03-03 15:08:25,006 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r2_c0.jpg +2025-03-03 15:08:25,260 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r2_c1.jpg +2025-03-03 15:08:25,479 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r3_c0.jpg +2025-03-03 15:08:25,695 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r3_c1.jpg +2025-03-03 15:08:25,909 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r4_c0.jpg +2025-03-03 15:08:26,095 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r4_c1.jpg +2025-03-03 15:08:26,331 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r5_c0.jpg +2025-03-03 15:08:26,541 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r5_c1.jpg +2025-03-03 15:08:26,541 [ERROR] __main__ - Error processing table image /topic-extraction/img_8.jpg: local variable 'recognized_main_topic' referenced before assignment +2025-03-03 15:08:26,541 [INFO] __main__ - Processing table image: /topic-extraction/img_9.jpg, columns=three +2025-03-03 15:08:30,374 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r0_c0.jpg +2025-03-03 15:08:30,676 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r0_c1.jpg +2025-03-03 15:08:30,888 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r0_c2.jpg +2025-03-03 15:08:31,120 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r1_c0.jpg +2025-03-03 15:08:31,338 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r1_c1.jpg +2025-03-03 15:08:31,579 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r2_c0.jpg +2025-03-03 15:08:31,801 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r2_c1.jpg +2025-03-03 15:08:32,004 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r3_c0.jpg +2025-03-03 15:08:32,213 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r3_c1.jpg +2025-03-03 15:08:32,214 [ERROR] __main__ - Error processing table image /topic-extraction/img_9.jpg: local variable 'recognized_main_topic' referenced before assignment +2025-03-03 15:08:32,214 [INFO] __main__ - Processing table image: /topic-extraction/img_10.jpg, columns=three +2025-03-03 15:08:35,917 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_10.jpg_r0_c0.jpg +2025-03-03 15:08:36,212 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_10.jpg_r0_c1.jpg +2025-03-03 15:08:36,464 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_10.jpg_r1_c0.jpg +2025-03-03 15:08:36,689 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_10.jpg_r2_c0.jpg +2025-03-03 15:08:36,933 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_10.jpg_r3_c0.jpg +2025-03-03 15:08:36,934 [ERROR] __main__ - Error processing table image /topic-extraction/img_10.jpg: local variable 'recognized_main_topic' referenced before assignment +2025-03-03 15:08:36,934 [INFO] __main__ - Processing table image: /topic-extraction/img_11.jpg, columns=two +2025-03-03 15:08:40,244 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_11.jpg_r0_c0.jpg +2025-03-03 15:08:40,533 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_11.jpg_r1_c0.jpg +2025-03-03 15:08:40,756 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_11.jpg_r2_c0.jpg +2025-03-03 15:08:40,996 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_11.jpg_r3_c0.jpg +2025-03-03 15:08:41,209 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_11.jpg_r4_c0.jpg +2025-03-03 15:08:41,440 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_11.jpg_r5_c0.jpg +2025-03-03 15:08:41,440 [ERROR] __main__ - Error processing table image /topic-extraction/img_11.jpg: local variable 'recognized_main_topic' referenced before assignment +2025-03-03 15:08:41,440 [INFO] __main__ - Processing table image: /topic-extraction/img_12.jpg, columns=three +2025-03-03 15:08:44,731 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_12.jpg_r0_c0.jpg +2025-03-03 15:08:45,033 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_12.jpg_r0_c1.jpg +2025-03-03 15:08:45,244 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_12.jpg_r1_c0.jpg +2025-03-03 15:08:45,427 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_12.jpg_r1_c1.jpg +2025-03-03 15:08:45,678 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_12.jpg_r2_c0.jpg +2025-03-03 15:08:45,919 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_12.jpg_r2_c1.jpg +2025-03-03 15:08:45,919 [ERROR] __main__ - Error processing table image /topic-extraction/img_12.jpg: local variable 'recognized_main_topic' referenced before assignment +2025-03-03 15:08:45,919 [INFO] __main__ - Processing table image: /topic-extraction/img_13.jpg, columns=three +2025-03-03 15:08:49,575 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_13.jpg_r0_c0.jpg +2025-03-03 15:08:49,833 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_13.jpg_r0_c1.jpg +2025-03-03 15:08:50,062 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_13.jpg_r1_c0.jpg +2025-03-03 15:08:50,268 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_13.jpg_r1_c1.jpg +2025-03-03 15:08:50,492 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_13.jpg_r2_c0.jpg +2025-03-03 15:08:50,681 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_13.jpg_r3_c0.jpg +2025-03-03 15:08:50,681 [ERROR] __main__ - Error processing table image /topic-extraction/img_13.jpg: local variable 'recognized_main_topic' referenced before assignment +2025-03-03 15:08:50,682 [INFO] __main__ - Processing table image: /topic-extraction/img_14.jpg, columns=three +2025-03-03 15:08:54,968 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r0_c0.jpg +2025-03-03 15:08:55,283 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r0_c1.jpg +2025-03-03 15:08:55,502 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r1_c0.jpg +2025-03-03 15:08:55,718 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r1_c1.jpg +2025-03-03 15:08:55,913 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r2_c0.jpg +2025-03-03 15:08:56,148 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r3_c0.jpg +2025-03-03 15:08:56,395 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r4_c0.jpg +2025-03-03 15:08:56,628 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r4_c1.jpg +2025-03-03 15:08:56,846 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r5_c0.jpg +2025-03-03 15:08:56,847 [ERROR] __main__ - Error processing table image /topic-extraction/img_14.jpg: local variable 'recognized_main_topic' referenced before assignment +2025-03-03 15:08:56,847 [INFO] __main__ - Processing table image: /topic-extraction/img_15.jpg, columns=three +2025-03-03 15:09:00,646 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_15.jpg_r0_c0.jpg +2025-03-03 15:09:00,938 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_15.jpg_r0_c1.jpg +2025-03-03 15:09:01,168 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_15.jpg_r1_c0.jpg +2025-03-03 15:09:01,395 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_15.jpg_r1_c1.jpg +2025-03-03 15:09:01,594 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_15.jpg_r2_c0.jpg +2025-03-03 15:09:01,818 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_15.jpg_r3_c0.jpg +2025-03-03 15:09:02,037 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_15.jpg_r4_c0.jpg +2025-03-03 15:09:02,037 [ERROR] __main__ - Error processing table image /topic-extraction/img_15.jpg: local variable 'recognized_main_topic' referenced before assignment +2025-03-03 15:09:02,037 [INFO] __main__ - Processing table image: /topic-extraction/img_16.jpg, columns=three +2025-03-03 15:09:06,565 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r0_c0.jpg +2025-03-03 15:09:06,824 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r0_c1.jpg +2025-03-03 15:09:07,056 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r1_c0.jpg +2025-03-03 15:09:07,270 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r1_c1.jpg +2025-03-03 15:09:07,488 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r2_c0.jpg +2025-03-03 15:09:07,703 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r3_c0.jpg +2025-03-03 15:09:07,891 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r3_c1.jpg +2025-03-03 15:09:08,117 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r4_c0.jpg +2025-03-03 15:09:08,993 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r5_c0.jpg +2025-03-03 15:09:08,993 [ERROR] __main__ - Error processing table image /topic-extraction/img_16.jpg: local variable 'recognized_main_topic' referenced before assignment +2025-03-03 15:09:08,994 [INFO] __main__ - Processing table image: /topic-extraction/img_17.jpg, columns=three +2025-03-03 15:09:12,825 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_17.jpg_r0_c0.jpg +2025-03-03 15:09:13,119 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_17.jpg_r0_c1.jpg +2025-03-03 15:09:13,357 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_17.jpg_r1_c0.jpg +2025-03-03 15:09:13,563 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_17.jpg_r2_c0.jpg +2025-03-03 15:09:13,882 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_17.jpg_r2_c1.jpg +2025-03-03 15:09:14,081 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_17.jpg_r3_c0.jpg +2025-03-03 15:09:14,306 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_17.jpg_r4_c0.jpg +2025-03-03 15:09:14,501 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_17.jpg_r5_c0.jpg +2025-03-03 15:09:14,502 [ERROR] __main__ - Error processing table image /topic-extraction/img_17.jpg: local variable 'recognized_main_topic' referenced before assignment +2025-03-03 15:09:14,502 [INFO] __main__ - Processing table image: /topic-extraction/img_18.jpg, columns=three +2025-03-03 15:09:15,797 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_18.jpg_r0_c0.jpg +2025-03-03 15:09:15,990 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_18.jpg_r0_c1.jpg +2025-03-03 15:09:16,192 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_18.jpg_r1_c0.jpg +2025-03-03 15:09:16,383 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_18.jpg_r1_c1.jpg +2025-03-03 15:09:16,383 [ERROR] __main__ - Error processing table image /topic-extraction/img_18.jpg: local variable 'recognized_main_topic' referenced before assignment +2025-03-03 15:09:16,384 [INFO] __main__ - Processing table image: /topic-extraction/img_19.jpg, columns=three +2025-03-03 15:09:19,388 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_19.jpg_r0_c0.jpg +2025-03-03 15:09:19,717 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_19.jpg_r0_c1.jpg +2025-03-03 15:09:19,935 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_19.jpg_r1_c0.jpg +2025-03-03 15:09:20,147 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_19.jpg_r1_c1.jpg +2025-03-03 15:09:20,371 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_19.jpg_r2_c0.jpg +2025-03-03 15:09:20,584 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_19.jpg_r2_c1.jpg +2025-03-03 15:09:20,584 [ERROR] __main__ - Error processing table image /topic-extraction/img_19.jpg: local variable 'recognized_main_topic' referenced before assignment +2025-03-03 15:09:20,585 [INFO] __main__ - Processing table image: /topic-extraction/img_20.jpg, columns=three +2025-03-03 15:09:25,259 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_20.jpg_r0_c0.jpg +2025-03-03 15:09:25,550 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_20.jpg_r0_c1.jpg +2025-03-03 15:09:25,773 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_20.jpg_r1_c0.jpg +2025-03-03 15:09:25,987 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_20.jpg_r1_c1.jpg +2025-03-03 15:09:25,988 [ERROR] __main__ - Error processing table image /topic-extraction/img_20.jpg: local variable 'recognized_main_topic' referenced before assignment +2025-03-03 15:09:25,988 [INFO] __main__ - Processing table image: /topic-extraction/img_21.jpg, columns=three +2025-03-03 15:09:29,922 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_21.jpg_r0_c0.jpg +2025-03-03 15:09:30,236 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_21.jpg_r0_c1.jpg +2025-03-03 15:09:30,470 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_21.jpg_r1_c0.jpg +2025-03-03 15:09:30,696 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_21.jpg_r1_c1.jpg +2025-03-03 15:09:30,697 [ERROR] __main__ - Error processing table image /topic-extraction/img_21.jpg: local variable 'recognized_main_topic' referenced before assignment +2025-03-03 15:09:30,697 [INFO] __main__ - Processing table image: /topic-extraction/img_22.jpg, columns=three +2025-03-03 15:09:34,601 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_22.jpg_r0_c0.jpg +2025-03-03 15:09:34,919 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_22.jpg_r0_c1.jpg +2025-03-03 15:09:35,162 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_22.jpg_r1_c0.jpg +2025-03-03 15:09:35,391 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_22.jpg_r1_c1.jpg +2025-03-03 15:09:35,635 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_22.jpg_r2_c0.jpg +2025-03-03 15:09:35,880 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_22.jpg_r2_c1.jpg +2025-03-03 15:09:36,103 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_22.jpg_r3_c0.jpg +2025-03-03 15:09:36,103 [ERROR] __main__ - Error processing table image /topic-extraction/img_22.jpg: local variable 'recognized_main_topic' referenced before assignment +2025-03-03 15:09:36,103 [INFO] __main__ - Processing table image: /topic-extraction/img_23.jpg, columns=three +2025-03-03 15:09:39,775 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_23.jpg_r0_c0.jpg +2025-03-03 15:09:40,053 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_23.jpg_r0_c1.jpg +2025-03-03 15:09:40,311 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_23.jpg_r1_c0.jpg +2025-03-03 15:09:40,556 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_23.jpg_r1_c1.jpg +2025-03-03 15:09:40,557 [ERROR] __main__ - Error processing table image /topic-extraction/img_23.jpg: local variable 'recognized_main_topic' referenced before assignment +2025-03-03 15:09:40,557 [INFO] __main__ - Processing table image: /topic-extraction/img_24.jpg, columns=three +2025-03-03 15:09:44,517 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_24.jpg_r0_c0.jpg +2025-03-03 15:09:44,816 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_24.jpg_r0_c1.jpg +2025-03-03 15:09:45,025 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_24.jpg_r1_c0.jpg +2025-03-03 15:09:45,216 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_24.jpg_r1_c1.jpg +2025-03-03 15:09:45,474 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_24.jpg_r2_c0.jpg +2025-03-03 15:09:45,475 [ERROR] __main__ - Error processing table image /topic-extraction/img_24.jpg: local variable 'recognized_main_topic' referenced before assignment +2025-03-03 15:09:45,475 [INFO] __main__ - Processing table image: /topic-extraction/img_25.jpg, columns=two +2025-03-03 15:09:48,747 [INFO] __main__ - GPU memory cleaned up. +2025-03-03 15:11:02,660 [INFO] __main__ - Processing PDF: /home/user/app/input_output/a-level-pearson-mathematics-specification.pdf +2025-03-03 15:11:03,435 [INFO] __main__ - Gemini returned subtopics: {'Paper 1 and Paper 2: Pure Mathematics': [11, 29], 'Paper 3: Statistics and Mechanics': [30, 40]} +2025-03-03 15:11:03,436 [INFO] __main__ - Loaded 1135473 bytes from local file '/home/user/app/input_output/a-level-pearson-mathematics-specification.pdf' +2025-03-03 15:11:03,810 [INFO] __main__ - Computed global offset: 4 +2025-03-03 15:11:03,810 [INFO] __main__ - Processing pages (0-based): [14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43] +2025-03-03 15:12:00,303 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_1.jpg +2025-03-03 15:12:02,229 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_2.jpg +2025-03-03 15:12:02,838 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_3.jpg +2025-03-03 15:12:03,387 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_4.jpg +2025-03-03 15:12:03,934 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_5.jpg +2025-03-03 15:12:04,493 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_6.jpg +2025-03-03 15:12:04,974 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_7.jpg +2025-03-03 15:12:05,462 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_8.jpg +2025-03-03 15:12:05,948 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_9.jpg +2025-03-03 15:12:06,494 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_10.jpg +2025-03-03 15:12:06,959 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_11.jpg +2025-03-03 15:12:07,507 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_12.jpg +2025-03-03 15:12:08,001 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_13.jpg +2025-03-03 15:12:08,622 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_14.jpg +2025-03-03 15:12:09,113 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_15.jpg +2025-03-03 15:12:09,687 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_16.jpg +2025-03-03 15:12:10,253 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_17.jpg +2025-03-03 15:12:10,551 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_18.jpg +2025-03-03 15:12:11,029 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_19.jpg +2025-03-03 15:12:11,646 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_20.jpg +2025-03-03 15:12:12,199 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_21.jpg +2025-03-03 15:12:12,773 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_22.jpg +2025-03-03 15:12:13,230 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_23.jpg +2025-03-03 15:12:13,744 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_24.jpg +2025-03-03 15:12:14,334 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_25.jpg +2025-03-03 15:12:14,814 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_26.jpg +2025-03-03 15:12:15,247 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_27.jpg +2025-03-03 15:12:15,865 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_28.jpg +2025-03-03 15:12:16,255 [INFO] __main__ - Classifying images to detect tables. +2025-03-03 15:12:20,255 [INFO] __main__ - Processing table image: /topic-extraction/img_1.jpg, columns=three +2025-03-03 15:12:23,921 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_1.jpg_r0_c0.jpg +2025-03-03 15:12:24,217 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_1.jpg_r0_c1.jpg +2025-03-03 15:12:24,450 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_1.jpg_r1_c0.jpg +2025-03-03 15:12:24,703 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_1.jpg_r1_c1.jpg +2025-03-03 15:12:24,703 [ERROR] __main__ - Error processing table image /topic-extraction/img_1.jpg: local variable 'recognized_main_topic' referenced before assignment +2025-03-03 15:12:24,703 [INFO] __main__ - Processing table image: /topic-extraction/img_2.jpg, columns=three +2025-03-03 15:12:28,056 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_2.jpg_r0_c0.jpg +2025-03-03 15:12:28,350 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_2.jpg_r0_c1.jpg +2025-03-03 15:12:28,608 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_2.jpg_r1_c0.jpg +2025-03-03 15:12:28,802 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_2.jpg_r2_c0.jpg +2025-03-03 15:12:29,021 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_2.jpg_r3_c0.jpg +2025-03-03 15:12:29,021 [ERROR] __main__ - Error processing table image /topic-extraction/img_2.jpg: local variable 'recognized_main_topic' referenced before assignment +2025-03-03 15:12:29,021 [INFO] __main__ - Processing table image: /topic-extraction/img_3.jpg, columns=three +2025-03-03 15:12:32,674 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_3.jpg_r0_c0.jpg +2025-03-03 15:12:32,963 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_3.jpg_r0_c1.jpg +2025-03-03 15:12:33,184 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_3.jpg_r1_c0.jpg +2025-03-03 15:12:33,184 [ERROR] __main__ - Error processing table image /topic-extraction/img_3.jpg: local variable 'recognized_main_topic' referenced before assignment +2025-03-03 15:12:33,184 [INFO] __main__ - Processing table image: /topic-extraction/img_4.jpg, columns=three +2025-03-03 15:12:36,359 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_4.jpg_r0_c0.jpg +2025-03-03 15:12:36,659 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_4.jpg_r0_c1.jpg +2025-03-03 15:12:36,883 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_4.jpg_r1_c0.jpg +2025-03-03 15:12:37,114 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_4.jpg_r1_c1.jpg +2025-03-03 15:12:37,114 [ERROR] __main__ - Error processing table image /topic-extraction/img_4.jpg: local variable 'recognized_main_topic' referenced before assignment +2025-03-03 15:12:37,115 [INFO] __main__ - Processing table image: /topic-extraction/img_5.jpg, columns=three +2025-03-03 15:12:40,889 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_5.jpg_r0_c0.jpg +2025-03-03 15:12:41,192 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_5.jpg_r0_c1.jpg +2025-03-03 15:12:41,416 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_5.jpg_r1_c0.jpg +2025-03-03 15:12:41,662 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_5.jpg_r1_c1.jpg +2025-03-03 15:12:41,866 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_5.jpg_r2_c0.jpg +2025-03-03 15:12:41,867 [ERROR] __main__ - Error processing table image /topic-extraction/img_5.jpg: local variable 'recognized_main_topic' referenced before assignment +2025-03-03 15:12:41,867 [INFO] __main__ - Processing table image: /topic-extraction/img_6.jpg, columns=three +2025-03-03 15:12:46,953 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_6.jpg_r0_c0.jpg +2025-03-03 15:12:47,267 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_6.jpg_r0_c1.jpg +2025-03-03 15:12:47,502 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_6.jpg_r1_c0.jpg +2025-03-03 15:12:47,770 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_6.jpg_r1_c1.jpg +2025-03-03 15:12:47,771 [ERROR] __main__ - Error processing table image /topic-extraction/img_6.jpg: local variable 'recognized_main_topic' referenced before assignment +2025-03-03 15:12:47,772 [INFO] __main__ - Processing table image: /topic-extraction/img_7.jpg, columns=three +2025-03-03 15:12:52,731 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_7.jpg_r0_c0.jpg +2025-03-03 15:12:53,003 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_7.jpg_r0_c1.jpg +2025-03-03 15:12:53,198 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_7.jpg_r1_c0.jpg +2025-03-03 15:12:53,431 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_7.jpg_r2_c0.jpg +2025-03-03 15:12:53,655 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_7.jpg_r2_c1.jpg +2025-03-03 15:12:53,655 [ERROR] __main__ - Error processing table image /topic-extraction/img_7.jpg: local variable 'recognized_main_topic' referenced before assignment +2025-03-03 15:12:53,655 [INFO] __main__ - Processing table image: /topic-extraction/img_8.jpg, columns=three +2025-03-03 15:12:57,299 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r0_c0.jpg +2025-03-03 15:12:57,597 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r0_c1.jpg +2025-03-03 15:12:57,822 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r0_c2.jpg +2025-03-03 15:12:58,055 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r1_c0.jpg +2025-03-03 15:12:58,290 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r1_c1.jpg +2025-03-03 15:12:58,518 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r1_c2.jpg +2025-03-03 15:12:58,753 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r2_c0.jpg +2025-03-03 15:12:58,987 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r2_c1.jpg +2025-03-03 15:12:59,218 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r3_c0.jpg +2025-03-03 15:12:59,434 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r3_c1.jpg +2025-03-03 15:12:59,632 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r4_c0.jpg +2025-03-03 15:12:59,877 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r4_c1.jpg +2025-03-03 15:13:00,135 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r5_c0.jpg +2025-03-03 15:13:00,374 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r5_c1.jpg +2025-03-03 15:13:00,374 [ERROR] __main__ - Error processing table image /topic-extraction/img_8.jpg: local variable 'recognized_main_topic' referenced before assignment +2025-03-03 15:13:00,375 [INFO] __main__ - Processing table image: /topic-extraction/img_9.jpg, columns=three +2025-03-03 15:13:04,350 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r0_c0.jpg +2025-03-03 15:13:04,658 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r0_c1.jpg +2025-03-03 15:13:04,896 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r0_c2.jpg +2025-03-03 15:13:05,132 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r1_c0.jpg +2025-03-03 15:13:05,358 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r1_c1.jpg +2025-03-03 15:13:05,590 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r2_c0.jpg +2025-03-03 15:13:05,817 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r2_c1.jpg +2025-03-03 15:13:06,048 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r3_c0.jpg +2025-03-03 15:13:06,274 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r3_c1.jpg +2025-03-03 15:13:06,275 [ERROR] __main__ - Error processing table image /topic-extraction/img_9.jpg: local variable 'recognized_main_topic' referenced before assignment +2025-03-03 15:13:06,275 [INFO] __main__ - Processing table image: /topic-extraction/img_10.jpg, columns=three +2025-03-03 15:13:09,774 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_10.jpg_r0_c0.jpg +2025-03-03 15:13:10,098 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_10.jpg_r0_c1.jpg +2025-03-03 15:13:10,328 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_10.jpg_r1_c0.jpg +2025-03-03 15:13:10,570 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_10.jpg_r2_c0.jpg +2025-03-03 15:13:10,816 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_10.jpg_r3_c0.jpg +2025-03-03 15:13:10,817 [ERROR] __main__ - Error processing table image /topic-extraction/img_10.jpg: local variable 'recognized_main_topic' referenced before assignment +2025-03-03 15:13:10,818 [INFO] __main__ - Processing table image: /topic-extraction/img_11.jpg, columns=two +2025-03-03 15:13:14,111 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_11.jpg_r0_c0.jpg +2025-03-03 15:13:14,417 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_11.jpg_r1_c0.jpg +2025-03-03 15:13:14,656 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_11.jpg_r2_c0.jpg +2025-03-03 15:13:14,910 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_11.jpg_r3_c0.jpg +2025-03-03 15:13:15,126 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_11.jpg_r4_c0.jpg +2025-03-03 15:13:15,344 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_11.jpg_r5_c0.jpg +2025-03-03 15:13:15,344 [ERROR] __main__ - Error processing table image /topic-extraction/img_11.jpg: local variable 'recognized_main_topic' referenced before assignment +2025-03-03 15:13:15,344 [INFO] __main__ - Processing table image: /topic-extraction/img_12.jpg, columns=three +2025-03-03 15:13:18,945 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_12.jpg_r0_c0.jpg +2025-03-03 15:13:19,257 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_12.jpg_r0_c1.jpg +2025-03-03 15:13:19,469 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_12.jpg_r1_c0.jpg +2025-03-03 15:13:19,698 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_12.jpg_r1_c1.jpg +2025-03-03 15:13:19,919 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_12.jpg_r2_c0.jpg +2025-03-03 15:13:20,141 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_12.jpg_r2_c1.jpg +2025-03-03 15:13:20,141 [ERROR] __main__ - Error processing table image /topic-extraction/img_12.jpg: local variable 'recognized_main_topic' referenced before assignment +2025-03-03 15:13:20,141 [INFO] __main__ - Processing table image: /topic-extraction/img_13.jpg, columns=three +2025-03-03 15:13:23,436 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_13.jpg_r0_c0.jpg +2025-03-03 15:13:23,732 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_13.jpg_r0_c1.jpg +2025-03-03 15:13:23,960 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_13.jpg_r1_c0.jpg +2025-03-03 15:13:24,187 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_13.jpg_r1_c1.jpg +2025-03-03 15:13:24,424 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_13.jpg_r2_c0.jpg +2025-03-03 15:13:24,698 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_13.jpg_r3_c0.jpg +2025-03-03 15:13:24,699 [ERROR] __main__ - Error processing table image /topic-extraction/img_13.jpg: local variable 'recognized_main_topic' referenced before assignment +2025-03-03 15:13:24,699 [INFO] __main__ - Processing table image: /topic-extraction/img_14.jpg, columns=three +2025-03-03 15:13:29,158 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r0_c0.jpg +2025-03-03 15:13:29,447 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r0_c1.jpg +2025-03-03 15:13:29,679 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r1_c0.jpg +2025-03-03 15:13:29,915 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r1_c1.jpg +2025-03-03 15:13:30,141 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r2_c0.jpg +2025-03-03 15:13:30,365 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r3_c0.jpg +2025-03-03 15:13:30,597 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r4_c0.jpg +2025-03-03 15:13:30,815 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r4_c1.jpg +2025-03-03 15:13:31,054 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r5_c0.jpg +2025-03-03 15:13:31,055 [ERROR] __main__ - Error processing table image /topic-extraction/img_14.jpg: local variable 'recognized_main_topic' referenced before assignment +2025-03-03 15:13:31,055 [INFO] __main__ - Processing table image: /topic-extraction/img_15.jpg, columns=three +2025-03-03 15:13:34,757 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_15.jpg_r0_c0.jpg +2025-03-03 15:13:35,068 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_15.jpg_r0_c1.jpg +2025-03-03 15:13:35,311 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_15.jpg_r1_c0.jpg +2025-03-03 15:13:35,553 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_15.jpg_r1_c1.jpg +2025-03-03 15:13:35,772 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_15.jpg_r2_c0.jpg +2025-03-03 15:13:35,967 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_15.jpg_r3_c0.jpg +2025-03-03 15:13:36,164 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_15.jpg_r4_c0.jpg +2025-03-03 15:13:36,164 [ERROR] __main__ - Error processing table image /topic-extraction/img_15.jpg: local variable 'recognized_main_topic' referenced before assignment +2025-03-03 15:13:36,165 [INFO] __main__ - Processing table image: /topic-extraction/img_16.jpg, columns=three +2025-03-03 15:13:40,188 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r0_c0.jpg +2025-03-03 15:13:40,459 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r0_c1.jpg +2025-03-03 15:13:40,671 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r1_c0.jpg +2025-03-03 15:13:40,881 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r1_c1.jpg +2025-03-03 15:13:41,105 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r2_c0.jpg +2025-03-03 15:13:41,348 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r3_c0.jpg +2025-03-03 15:13:41,563 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r3_c1.jpg +2025-03-03 15:13:41,786 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r4_c0.jpg +2025-03-03 15:13:42,769 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r5_c0.jpg +2025-03-03 15:13:42,770 [ERROR] __main__ - Error processing table image /topic-extraction/img_16.jpg: local variable 'recognized_main_topic' referenced before assignment +2025-03-03 15:13:42,770 [INFO] __main__ - Processing table image: /topic-extraction/img_17.jpg, columns=three +2025-03-03 15:13:46,506 [INFO] __main__ - GPU memory cleaned up. +2025-03-03 15:17:44,033 [INFO] __main__ - Processing PDF: /home/user/app/input_output/a-level-pearson-mathematics-specification.pdf +2025-03-03 15:17:44,943 [INFO] __main__ - Gemini returned subtopics: {'Paper 1 and Paper 2: Pure Mathematics': [11, 29], 'Paper 3: Statistics and Mechanics': [30, 40]} +2025-03-03 15:17:44,944 [INFO] __main__ - Loaded 1135473 bytes from local file '/home/user/app/input_output/a-level-pearson-mathematics-specification.pdf' +2025-03-03 15:17:45,443 [INFO] __main__ - Computed global offset: 4 +2025-03-03 15:17:45,444 [INFO] __main__ - Processing pages (0-based): [14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43] +2025-03-03 15:17:46,698 [INFO] __main__ - GPU memory cleaned up. +2025-03-03 15:19:23,940 [INFO] __main__ - Processing PDF: /home/user/app/input_output/a-level-pearson-mathematics-specification.pdf +2025-03-03 15:19:24,695 [INFO] __main__ - Gemini returned subtopics: {'Paper 1 and Paper 2: Pure Mathematics': [11, 29], 'Paper 3: Statistics and Mechanics': [30, 40]} +2025-03-03 15:19:24,696 [INFO] __main__ - Loaded 1135473 bytes from local file '/home/user/app/input_output/a-level-pearson-mathematics-specification.pdf' +2025-03-03 15:19:25,034 [INFO] __main__ - Computed global offset: 4 +2025-03-03 15:19:25,035 [INFO] __main__ - Processing pages (0-based): [14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43] +2025-03-03 15:20:21,942 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_1.jpg +2025-03-03 15:20:23,866 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_2.jpg +2025-03-03 15:20:24,397 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_3.jpg +2025-03-03 15:20:24,943 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_4.jpg +2025-03-03 15:20:25,502 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_5.jpg +2025-03-03 15:20:26,063 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_6.jpg +2025-03-03 15:20:26,555 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_7.jpg +2025-03-03 15:20:27,020 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_8.jpg +2025-03-03 15:20:27,549 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_9.jpg +2025-03-03 15:20:28,121 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_10.jpg +2025-03-03 15:20:28,682 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_11.jpg +2025-03-03 15:20:29,233 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_12.jpg +2025-03-03 15:20:29,708 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_13.jpg +2025-03-03 15:20:30,309 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_14.jpg +2025-03-03 15:20:30,792 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_15.jpg +2025-03-03 15:20:31,381 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_16.jpg +2025-03-03 15:20:32,012 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_17.jpg +2025-03-03 15:20:32,303 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_18.jpg +2025-03-03 15:20:32,775 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_19.jpg +2025-03-03 15:20:33,407 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_20.jpg +2025-03-03 15:20:34,029 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_21.jpg +2025-03-03 15:20:34,610 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_22.jpg +2025-03-03 15:20:35,055 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_23.jpg +2025-03-03 15:20:35,568 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_24.jpg +2025-03-03 15:20:36,120 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_25.jpg +2025-03-03 15:20:36,549 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_26.jpg +2025-03-03 15:20:37,025 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_27.jpg +2025-03-03 15:20:37,655 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_28.jpg +2025-03-03 15:20:38,043 [INFO] __main__ - Classifying images to detect tables. +2025-03-03 15:20:42,180 [INFO] __main__ - Processing table image: /topic-extraction/img_1.jpg, columns=three +2025-03-03 15:20:45,639 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_1.jpg_r0_c0.jpg +2025-03-03 15:20:45,932 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_1.jpg_r0_c1.jpg +2025-03-03 15:20:46,117 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_1.jpg_r1_c0.jpg +2025-03-03 15:20:46,338 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_1.jpg_r1_c1.jpg +2025-03-03 15:20:46,338 [INFO] __main__ - Processing table image: /topic-extraction/img_2.jpg, columns=three +2025-03-03 15:20:50,116 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_2.jpg_r0_c0.jpg +2025-03-03 15:20:50,422 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_2.jpg_r0_c1.jpg +2025-03-03 15:20:50,660 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_2.jpg_r1_c0.jpg +2025-03-03 15:20:50,871 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_2.jpg_r2_c0.jpg +2025-03-03 15:20:51,056 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_2.jpg_r3_c0.jpg +2025-03-03 15:20:51,057 [INFO] __main__ - Processing table image: /topic-extraction/img_3.jpg, columns=three +2025-03-03 15:20:54,596 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_3.jpg_r0_c0.jpg +2025-03-03 15:20:54,864 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_3.jpg_r0_c1.jpg +2025-03-03 15:20:55,053 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_3.jpg_r1_c0.jpg +2025-03-03 15:20:55,054 [INFO] __main__ - Processing table image: /topic-extraction/img_4.jpg, columns=three +2025-03-03 15:20:58,584 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_4.jpg_r0_c0.jpg +2025-03-03 15:20:58,873 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_4.jpg_r0_c1.jpg +2025-03-03 15:20:59,086 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_4.jpg_r1_c0.jpg +2025-03-03 15:20:59,317 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_4.jpg_r1_c1.jpg +2025-03-03 15:20:59,318 [INFO] __main__ - Processing table image: /topic-extraction/img_5.jpg, columns=three +2025-03-03 15:21:02,998 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_5.jpg_r0_c0.jpg +2025-03-03 15:21:03,281 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_5.jpg_r0_c1.jpg +2025-03-03 15:21:03,502 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_5.jpg_r1_c0.jpg +2025-03-03 15:21:03,709 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_5.jpg_r1_c1.jpg +2025-03-03 15:21:03,943 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_5.jpg_r2_c0.jpg +2025-03-03 15:21:03,944 [INFO] __main__ - Processing table image: /topic-extraction/img_6.jpg, columns=three +2025-03-03 15:21:08,925 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_6.jpg_r0_c0.jpg +2025-03-03 15:21:09,224 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_6.jpg_r0_c1.jpg +2025-03-03 15:21:09,448 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_6.jpg_r1_c0.jpg +2025-03-03 15:21:09,681 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_6.jpg_r1_c1.jpg +2025-03-03 15:21:09,682 [INFO] __main__ - Processing table image: /topic-extraction/img_7.jpg, columns=three +2025-03-03 15:21:13,431 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_7.jpg_r0_c0.jpg +2025-03-03 15:21:13,739 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_7.jpg_r0_c1.jpg +2025-03-03 15:21:13,972 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_7.jpg_r1_c0.jpg +2025-03-03 15:21:14,183 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_7.jpg_r2_c0.jpg +2025-03-03 15:21:14,399 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_7.jpg_r2_c1.jpg +2025-03-03 15:21:14,400 [INFO] __main__ - Processing table image: /topic-extraction/img_8.jpg, columns=three +2025-03-03 15:21:18,274 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r0_c0.jpg +2025-03-03 15:21:18,533 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r0_c1.jpg +2025-03-03 15:21:18,720 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r0_c2.jpg +2025-03-03 15:21:18,946 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r1_c0.jpg +2025-03-03 15:21:19,154 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r1_c1.jpg +2025-03-03 15:21:19,378 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r1_c2.jpg +2025-03-03 15:21:19,588 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r2_c0.jpg +2025-03-03 15:21:19,821 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r2_c1.jpg +2025-03-03 15:21:20,049 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r3_c0.jpg +2025-03-03 15:21:20,274 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r3_c1.jpg +2025-03-03 15:21:20,509 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r4_c0.jpg +2025-03-03 15:21:20,739 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r4_c1.jpg +2025-03-03 15:21:20,959 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r5_c0.jpg +2025-03-03 15:21:21,179 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r5_c1.jpg +2025-03-03 15:21:21,179 [INFO] __main__ - Processing table image: /topic-extraction/img_9.jpg, columns=three +2025-03-03 15:21:25,070 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r0_c0.jpg +2025-03-03 15:21:25,356 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r0_c1.jpg +2025-03-03 15:21:25,544 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r0_c2.jpg +2025-03-03 15:21:25,732 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r1_c0.jpg +2025-03-03 15:21:25,948 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r1_c1.jpg +2025-03-03 15:21:26,140 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r2_c0.jpg +2025-03-03 15:21:26,348 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r2_c1.jpg +2025-03-03 15:21:26,564 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r3_c0.jpg +2025-03-03 15:21:26,791 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r3_c1.jpg +2025-03-03 15:21:26,791 [INFO] __main__ - Processing table image: /topic-extraction/img_10.jpg, columns=three +2025-03-03 15:21:30,393 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_10.jpg_r0_c0.jpg +2025-03-03 15:21:30,695 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_10.jpg_r0_c1.jpg +2025-03-03 15:21:30,914 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_10.jpg_r1_c0.jpg +2025-03-03 15:21:31,189 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_10.jpg_r2_c0.jpg +2025-03-03 15:21:31,375 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_10.jpg_r3_c0.jpg +2025-03-03 15:21:31,375 [INFO] __main__ - Processing table image: /topic-extraction/img_11.jpg, columns=two +2025-03-03 15:21:34,741 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_11.jpg_r0_c0.jpg +2025-03-03 15:21:35,030 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_11.jpg_r1_c0.jpg +2025-03-03 15:21:35,254 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_11.jpg_r2_c0.jpg +2025-03-03 15:21:35,473 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_11.jpg_r3_c0.jpg +2025-03-03 15:21:35,698 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_11.jpg_r4_c0.jpg +2025-03-03 15:21:35,898 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_11.jpg_r5_c0.jpg +2025-03-03 15:21:35,898 [INFO] __main__ - Processing table image: /topic-extraction/img_12.jpg, columns=three +2025-03-03 15:21:39,541 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_12.jpg_r0_c0.jpg +2025-03-03 15:21:39,846 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_12.jpg_r0_c1.jpg +2025-03-03 15:21:40,073 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_12.jpg_r1_c0.jpg +2025-03-03 15:21:40,285 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_12.jpg_r1_c1.jpg +2025-03-03 15:21:40,512 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_12.jpg_r2_c0.jpg +2025-03-03 15:21:40,767 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_12.jpg_r2_c1.jpg +2025-03-03 15:21:40,767 [INFO] __main__ - Processing table image: /topic-extraction/img_13.jpg, columns=three +2025-03-03 15:21:44,049 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_13.jpg_r0_c0.jpg +2025-03-03 15:21:44,342 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_13.jpg_r0_c1.jpg +2025-03-03 15:21:44,563 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_13.jpg_r1_c0.jpg +2025-03-03 15:21:44,750 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_13.jpg_r1_c1.jpg +2025-03-03 15:21:44,999 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_13.jpg_r2_c0.jpg +2025-03-03 15:21:45,216 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_13.jpg_r3_c0.jpg +2025-03-03 15:21:45,217 [INFO] __main__ - Processing table image: /topic-extraction/img_14.jpg, columns=three +2025-03-03 15:21:50,026 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r0_c0.jpg +2025-03-03 15:21:50,324 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r0_c1.jpg +2025-03-03 15:21:50,539 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r1_c0.jpg +2025-03-03 15:21:50,748 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r1_c1.jpg +2025-03-03 15:21:50,963 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r2_c0.jpg +2025-03-03 15:21:51,203 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r3_c0.jpg +2025-03-03 15:21:51,459 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r4_c0.jpg +2025-03-03 15:21:51,671 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r4_c1.jpg +2025-03-03 15:21:51,898 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r5_c0.jpg +2025-03-03 15:21:51,898 [INFO] __main__ - Processing table image: /topic-extraction/img_15.jpg, columns=three +2025-03-03 15:21:56,013 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_15.jpg_r0_c0.jpg +2025-03-03 15:21:56,332 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_15.jpg_r0_c1.jpg +2025-03-03 15:21:56,521 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_15.jpg_r1_c0.jpg +2025-03-03 15:21:56,768 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_15.jpg_r1_c1.jpg +2025-03-03 15:21:57,016 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_15.jpg_r2_c0.jpg +2025-03-03 15:21:57,229 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_15.jpg_r3_c0.jpg +2025-03-03 15:21:57,413 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_15.jpg_r4_c0.jpg +2025-03-03 15:21:57,414 [INFO] __main__ - Processing table image: /topic-extraction/img_16.jpg, columns=three +2025-03-03 15:22:03,240 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r0_c0.jpg +2025-03-03 15:22:03,526 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r0_c1.jpg +2025-03-03 15:22:03,838 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r1_c0.jpg +2025-03-03 15:22:04,072 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r1_c1.jpg +2025-03-03 15:22:04,303 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r2_c0.jpg +2025-03-03 15:22:04,510 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r3_c0.jpg +2025-03-03 15:22:04,737 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r3_c1.jpg +2025-03-03 15:22:04,963 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r4_c0.jpg +2025-03-03 15:22:05,842 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r5_c0.jpg +2025-03-03 15:22:05,843 [INFO] __main__ - Processing table image: /topic-extraction/img_17.jpg, columns=three +2025-03-03 15:22:06,029 [INFO] __main__ - Processing PDF: /home/user/app/input_output/a-level-pearson-mathematics-specification.pdf +2025-03-03 15:22:07,171 [INFO] __main__ - Gemini returned subtopics: {'Paper 1 and Paper 2: Pure Mathematics': [11, 29], 'Paper 3: Statistics and Mechanics': [30, 40]} +2025-03-03 15:22:07,172 [INFO] __main__ - Loaded 1135473 bytes from local file '/home/user/app/input_output/a-level-pearson-mathematics-specification.pdf' +2025-03-03 15:22:07,700 [INFO] __main__ - Computed global offset: 4 +2025-03-03 15:22:07,701 [INFO] __main__ - Processing pages (0-based): [14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43] +2025-03-03 15:22:10,835 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_17.jpg_r0_c0.jpg +2025-03-03 15:22:11,166 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_17.jpg_r0_c1.jpg +2025-03-03 15:22:11,383 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_17.jpg_r1_c0.jpg +2025-03-03 15:22:11,616 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_17.jpg_r2_c0.jpg +2025-03-03 15:22:11,852 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_17.jpg_r2_c1.jpg +2025-03-03 15:22:12,098 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_17.jpg_r3_c0.jpg +2025-03-03 15:22:12,327 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_17.jpg_r4_c0.jpg +2025-03-03 15:22:12,518 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_17.jpg_r5_c0.jpg +2025-03-03 15:22:12,519 [INFO] __main__ - Processing table image: /topic-extraction/img_18.jpg, columns=three +2025-03-03 15:22:14,316 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_18.jpg_r0_c0.jpg +2025-03-03 15:22:14,503 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_18.jpg_r0_c1.jpg +2025-03-03 15:22:14,698 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_18.jpg_r1_c0.jpg +2025-03-03 15:22:14,894 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_18.jpg_r1_c1.jpg +2025-03-03 15:22:14,895 [INFO] __main__ - Processing table image: /topic-extraction/img_19.jpg, columns=three +2025-03-03 15:22:18,689 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_19.jpg_r0_c0.jpg +2025-03-03 15:22:19,052 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_19.jpg_r0_c1.jpg +2025-03-03 15:22:19,269 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_19.jpg_r1_c0.jpg +2025-03-03 15:22:19,533 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_19.jpg_r1_c1.jpg +2025-03-03 15:22:19,730 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_19.jpg_r2_c0.jpg +2025-03-03 15:22:19,924 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_19.jpg_r2_c1.jpg +2025-03-03 15:22:19,925 [INFO] __main__ - Processing table image: /topic-extraction/img_20.jpg, columns=three +2025-03-03 15:22:25,628 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_20.jpg_r0_c0.jpg +2025-03-03 15:22:25,959 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_20.jpg_r0_c1.jpg +2025-03-03 15:22:26,188 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_20.jpg_r1_c0.jpg +2025-03-03 15:22:26,423 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_20.jpg_r1_c1.jpg +2025-03-03 15:22:26,424 [INFO] __main__ - Processing table image: /topic-extraction/img_21.jpg, columns=three +2025-03-03 15:22:31,077 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_21.jpg_r0_c0.jpg +2025-03-03 15:22:31,343 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_21.jpg_r0_c1.jpg +2025-03-03 15:22:31,603 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_21.jpg_r1_c0.jpg +2025-03-03 15:22:31,835 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_21.jpg_r1_c1.jpg +2025-03-03 15:22:31,836 [INFO] __main__ - Processing table image: /topic-extraction/img_22.jpg, columns=three +2025-03-03 15:22:36,950 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_22.jpg_r0_c0.jpg +2025-03-03 15:22:37,234 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_22.jpg_r0_c1.jpg +2025-03-03 15:22:37,450 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_22.jpg_r1_c0.jpg +2025-03-03 15:22:37,664 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_22.jpg_r1_c1.jpg +2025-03-03 15:22:37,882 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_22.jpg_r2_c0.jpg +2025-03-03 15:22:38,078 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_22.jpg_r2_c1.jpg +2025-03-03 15:22:38,308 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_22.jpg_r3_c0.jpg +2025-03-03 15:22:38,309 [INFO] __main__ - Processing table image: /topic-extraction/img_23.jpg, columns=three +2025-03-03 15:22:43,854 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_23.jpg_r0_c0.jpg +2025-03-03 15:22:44,170 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_23.jpg_r0_c1.jpg +2025-03-03 15:22:44,367 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_23.jpg_r1_c0.jpg +2025-03-03 15:22:44,601 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_23.jpg_r1_c1.jpg +2025-03-03 15:22:44,602 [INFO] __main__ - Processing table image: /topic-extraction/img_24.jpg, columns=three +2025-03-03 15:22:50,835 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_24.jpg_r0_c0.jpg +2025-03-03 15:22:51,129 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_24.jpg_r0_c1.jpg +2025-03-03 15:22:51,352 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_24.jpg_r1_c0.jpg +2025-03-03 15:22:51,568 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_24.jpg_r1_c1.jpg +2025-03-03 15:22:51,799 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_24.jpg_r2_c0.jpg +2025-03-03 15:22:51,800 [INFO] __main__ - Processing table image: /topic-extraction/img_25.jpg, columns=two +2025-03-03 15:22:57,515 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_25.jpg_r0_c0.jpg +2025-03-03 15:22:57,832 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_25.jpg_r1_c0.jpg +2025-03-03 15:22:58,035 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_25.jpg_r2_c0.jpg +2025-03-03 15:22:58,281 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_25.jpg_r3_c0.jpg +2025-03-03 15:22:58,507 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_25.jpg_r4_c0.jpg +2025-03-03 15:22:58,694 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_25.jpg_r5_c0.jpg +2025-03-03 15:22:58,694 [INFO] __main__ - Processing table image: /topic-extraction/img_26.jpg, columns=three +2025-03-03 15:23:02,977 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_26.jpg_r0_c0.jpg +2025-03-03 15:23:03,247 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_26.jpg_r0_c1.jpg +2025-03-03 15:23:03,496 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_26.jpg_r1_c0.jpg +2025-03-03 15:23:03,727 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_26.jpg_r2_c0.jpg +2025-03-03 15:23:03,728 [INFO] __main__ - Processing table image: /topic-extraction/img_27.jpg, columns=three +2025-03-03 15:23:07,668 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_27.jpg_r0_c0.jpg +2025-03-03 15:23:07,990 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_27.jpg_r0_c1.jpg +2025-03-03 15:23:08,181 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_27.jpg_r1_c0.jpg +2025-03-03 15:23:08,440 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_27.jpg_r1_c1.jpg +2025-03-03 15:23:08,675 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_27.jpg_r2_c0.jpg +2025-03-03 15:23:08,902 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_27.jpg_r3_c0.jpg +2025-03-03 15:23:09,119 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_27.jpg_r4_c0.jpg +2025-03-03 15:23:09,308 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_27.jpg_r4_c1.jpg +2025-03-03 15:23:09,309 [INFO] __main__ - Processing table image: /topic-extraction/img_28.jpg, columns=two +2025-03-03 15:23:13,622 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_28.jpg_r0_c0.jpg +2025-03-03 15:23:13,931 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_28.jpg_r1_c0.jpg +2025-03-03 15:23:14,164 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_28.jpg_r2_c0.jpg +2025-03-03 15:23:14,394 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_28.jpg_r3_c0.jpg +2025-03-03 15:23:14,399 [INFO] __main__ - Final subtopics JSON saved locally at /home/user/app/pearson_json/final_subtopics.json +2025-03-03 15:23:14,792 [INFO] __main__ - GPU memory cleaned up. +2025-03-03 15:23:14,800 [INFO] __main__ - Processing completed successfully. +2025-03-03 15:23:16,376 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_1.jpg +2025-03-03 15:23:18,490 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_2.jpg +2025-03-03 15:23:19,071 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_3.jpg +2025-03-03 15:23:19,624 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_4.jpg +2025-03-03 15:23:20,184 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_5.jpg +2025-03-03 15:23:20,749 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_6.jpg +2025-03-03 15:23:21,303 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_7.jpg +2025-03-03 15:23:21,747 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_8.jpg +2025-03-03 15:23:22,263 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_9.jpg +2025-03-03 15:23:22,793 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_10.jpg +2025-03-03 15:23:23,254 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_11.jpg +2025-03-03 15:23:23,812 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_12.jpg +2025-03-03 15:23:24,292 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_13.jpg +2025-03-03 15:23:24,919 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_14.jpg +2025-03-03 15:23:25,357 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_15.jpg +2025-03-03 15:23:25,966 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_16.jpg +2025-03-03 15:23:26,540 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_17.jpg +2025-03-03 15:23:26,834 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_18.jpg +2025-03-03 15:23:27,323 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_19.jpg +2025-03-03 15:23:27,870 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_20.jpg +2025-03-03 15:23:28,392 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_21.jpg +2025-03-03 15:23:28,972 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_22.jpg +2025-03-03 15:23:29,421 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_23.jpg +2025-03-03 15:23:30,016 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_24.jpg +2025-03-03 15:23:30,682 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_25.jpg +2025-03-03 15:23:31,146 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_26.jpg +2025-03-03 15:23:31,597 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_27.jpg +2025-03-03 15:23:32,202 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_28.jpg +2025-03-03 15:23:32,634 [INFO] __main__ - Classifying images to detect tables. +2025-03-03 15:23:36,443 [INFO] __main__ - Processing table image: /topic-extraction/img_1.jpg, columns=three +2025-03-03 15:23:40,026 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_1.jpg_r0_c0.jpg +2025-03-03 15:23:40,315 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_1.jpg_r0_c1.jpg +2025-03-03 15:23:40,527 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_1.jpg_r1_c0.jpg +2025-03-03 15:23:40,744 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_1.jpg_r1_c1.jpg +2025-03-03 15:23:40,744 [INFO] __main__ - Processing table image: /topic-extraction/img_2.jpg, columns=three +2025-03-03 15:23:44,104 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_2.jpg_r0_c0.jpg +2025-03-03 15:23:44,391 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_2.jpg_r0_c1.jpg +2025-03-03 15:23:44,640 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_2.jpg_r1_c0.jpg +2025-03-03 15:23:44,885 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_2.jpg_r2_c0.jpg +2025-03-03 15:23:45,134 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_2.jpg_r3_c0.jpg +2025-03-03 15:23:45,134 [INFO] __main__ - Processing table image: /topic-extraction/img_3.jpg, columns=three +2025-03-03 15:23:48,906 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_3.jpg_r0_c0.jpg +2025-03-03 15:23:49,222 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_3.jpg_r0_c1.jpg +2025-03-03 15:23:49,474 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_3.jpg_r1_c0.jpg +2025-03-03 15:23:49,475 [INFO] __main__ - Processing table image: /topic-extraction/img_4.jpg, columns=three +2025-03-03 15:23:52,653 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_4.jpg_r0_c0.jpg +2025-03-03 15:23:52,949 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_4.jpg_r0_c1.jpg +2025-03-03 15:23:53,167 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_4.jpg_r1_c0.jpg +2025-03-03 15:23:53,382 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_4.jpg_r1_c1.jpg +2025-03-03 15:23:53,382 [INFO] __main__ - Processing table image: /topic-extraction/img_5.jpg, columns=three +2025-03-03 15:23:57,190 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_5.jpg_r0_c0.jpg +2025-03-03 15:23:57,451 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_5.jpg_r0_c1.jpg +2025-03-03 15:23:57,676 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_5.jpg_r1_c0.jpg +2025-03-03 15:23:57,889 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_5.jpg_r1_c1.jpg +2025-03-03 15:23:58,128 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_5.jpg_r2_c0.jpg +2025-03-03 15:23:58,129 [INFO] __main__ - Processing table image: /topic-extraction/img_6.jpg, columns=three +2025-03-03 15:24:01,879 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_6.jpg_r0_c0.jpg +2025-03-03 15:24:02,174 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_6.jpg_r0_c1.jpg +2025-03-03 15:24:02,391 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_6.jpg_r1_c0.jpg +2025-03-03 15:24:02,624 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_6.jpg_r1_c1.jpg +2025-03-03 15:24:02,625 [INFO] __main__ - Processing table image: /topic-extraction/img_7.jpg, columns=three +2025-03-03 15:24:06,022 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_7.jpg_r0_c0.jpg +2025-03-03 15:24:06,307 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_7.jpg_r0_c1.jpg +2025-03-03 15:24:06,540 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_7.jpg_r1_c0.jpg +2025-03-03 15:24:06,746 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_7.jpg_r2_c0.jpg +2025-03-03 15:24:06,963 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_7.jpg_r2_c1.jpg +2025-03-03 15:24:06,963 [INFO] __main__ - Processing table image: /topic-extraction/img_8.jpg, columns=three +2025-03-03 15:24:10,802 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r0_c0.jpg +2025-03-03 15:24:11,123 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r0_c1.jpg +2025-03-03 15:24:11,313 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r0_c2.jpg +2025-03-03 15:24:11,526 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r1_c0.jpg +2025-03-03 15:24:11,743 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r1_c1.jpg +2025-03-03 15:24:11,929 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r1_c2.jpg +2025-03-03 15:24:12,151 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r2_c0.jpg +2025-03-03 15:24:12,370 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r2_c1.jpg +2025-03-03 15:24:12,555 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r3_c0.jpg +2025-03-03 15:24:12,745 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r3_c1.jpg +2025-03-03 15:24:12,972 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r4_c0.jpg +2025-03-03 15:24:13,156 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r4_c1.jpg +2025-03-03 15:24:13,390 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r5_c0.jpg +2025-03-03 15:24:13,623 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r5_c1.jpg +2025-03-03 15:24:13,623 [INFO] __main__ - Processing table image: /topic-extraction/img_9.jpg, columns=three +2025-03-03 15:24:17,854 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r0_c0.jpg +2025-03-03 15:24:18,114 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r0_c1.jpg +2025-03-03 15:24:18,319 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r0_c2.jpg +2025-03-03 15:24:18,550 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r1_c0.jpg +2025-03-03 15:24:18,738 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r1_c1.jpg +2025-03-03 15:24:18,982 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r2_c0.jpg +2025-03-03 15:24:19,223 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r2_c1.jpg +2025-03-03 15:24:19,479 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r3_c0.jpg +2025-03-03 15:24:19,686 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r3_c1.jpg +2025-03-03 15:24:19,686 [INFO] __main__ - Processing table image: /topic-extraction/img_10.jpg, columns=three +2025-03-03 15:24:23,403 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_10.jpg_r0_c0.jpg +2025-03-03 15:24:23,661 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_10.jpg_r0_c1.jpg +2025-03-03 15:24:23,846 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_10.jpg_r1_c0.jpg +2025-03-03 15:24:24,033 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_10.jpg_r2_c0.jpg +2025-03-03 15:24:24,275 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_10.jpg_r3_c0.jpg +2025-03-03 15:24:24,276 [INFO] __main__ - Processing table image: /topic-extraction/img_11.jpg, columns=two +2025-03-03 15:24:27,485 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_11.jpg_r0_c0.jpg +2025-03-03 15:24:27,743 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_11.jpg_r1_c0.jpg +2025-03-03 15:24:27,985 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_11.jpg_r2_c0.jpg +2025-03-03 15:24:28,194 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_11.jpg_r3_c0.jpg +2025-03-03 15:24:28,430 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_11.jpg_r4_c0.jpg +2025-03-03 15:24:28,650 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_11.jpg_r5_c0.jpg +2025-03-03 15:24:28,650 [INFO] __main__ - Processing table image: /topic-extraction/img_12.jpg, columns=three +2025-03-03 15:24:31,948 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_12.jpg_r0_c0.jpg +2025-03-03 15:24:32,241 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_12.jpg_r0_c1.jpg +2025-03-03 15:24:32,469 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_12.jpg_r1_c0.jpg +2025-03-03 15:24:32,704 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_12.jpg_r1_c1.jpg +2025-03-03 15:24:32,890 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_12.jpg_r2_c0.jpg +2025-03-03 15:24:33,110 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_12.jpg_r2_c1.jpg +2025-03-03 15:24:33,110 [INFO] __main__ - Processing table image: /topic-extraction/img_13.jpg, columns=three +2025-03-03 15:24:36,659 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_13.jpg_r0_c0.jpg +2025-03-03 15:24:36,949 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_13.jpg_r0_c1.jpg +2025-03-03 15:24:37,171 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_13.jpg_r1_c0.jpg +2025-03-03 15:24:37,383 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_13.jpg_r1_c1.jpg +2025-03-03 15:24:37,590 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_13.jpg_r2_c0.jpg +2025-03-03 15:24:37,799 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_13.jpg_r3_c0.jpg +2025-03-03 15:24:37,799 [INFO] __main__ - Processing table image: /topic-extraction/img_14.jpg, columns=three +2025-03-03 15:24:42,224 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r0_c0.jpg +2025-03-03 15:24:42,511 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r0_c1.jpg +2025-03-03 15:24:42,696 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r1_c0.jpg +2025-03-03 15:24:42,914 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r1_c1.jpg +2025-03-03 15:24:43,154 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r2_c0.jpg +2025-03-03 15:24:43,401 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r3_c0.jpg +2025-03-03 15:24:43,589 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r4_c0.jpg +2025-03-03 15:24:43,784 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r4_c1.jpg +2025-03-03 15:24:44,012 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r5_c0.jpg +2025-03-03 15:24:44,013 [INFO] __main__ - Processing table image: /topic-extraction/img_15.jpg, columns=three +2025-03-03 15:24:47,657 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_15.jpg_r0_c0.jpg +2025-03-03 15:24:47,954 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_15.jpg_r0_c1.jpg +2025-03-03 15:24:48,182 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_15.jpg_r1_c0.jpg +2025-03-03 15:24:48,370 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_15.jpg_r1_c1.jpg +2025-03-03 15:24:48,582 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_15.jpg_r2_c0.jpg +2025-03-03 15:24:48,813 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_15.jpg_r3_c0.jpg +2025-03-03 15:24:49,044 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_15.jpg_r4_c0.jpg +2025-03-03 15:24:49,044 [INFO] __main__ - Processing table image: /topic-extraction/img_16.jpg, columns=three +2025-03-03 15:24:53,044 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r0_c0.jpg +2025-03-03 15:24:53,303 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r0_c1.jpg +2025-03-03 15:24:53,541 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r1_c0.jpg +2025-03-03 15:24:53,764 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r1_c1.jpg +2025-03-03 15:24:53,980 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r2_c0.jpg +2025-03-03 15:24:54,195 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r3_c0.jpg +2025-03-03 15:24:54,420 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r3_c1.jpg +2025-03-03 15:24:54,647 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r4_c0.jpg +2025-03-03 15:24:55,449 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r5_c0.jpg +2025-03-03 15:24:55,450 [INFO] __main__ - Processing table image: /topic-extraction/img_17.jpg, columns=three +2025-03-03 15:24:59,334 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_17.jpg_r0_c0.jpg +2025-03-03 15:24:59,611 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_17.jpg_r0_c1.jpg +2025-03-03 15:24:59,820 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_17.jpg_r1_c0.jpg +2025-03-03 15:25:00,017 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_17.jpg_r2_c0.jpg +2025-03-03 15:25:00,225 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_17.jpg_r2_c1.jpg +2025-03-03 15:25:00,426 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_17.jpg_r3_c0.jpg +2025-03-03 15:25:00,629 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_17.jpg_r4_c0.jpg +2025-03-03 15:25:00,813 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_17.jpg_r5_c0.jpg +2025-03-03 15:25:00,813 [INFO] __main__ - Processing table image: /topic-extraction/img_18.jpg, columns=three +2025-03-03 15:25:02,260 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_18.jpg_r0_c0.jpg +2025-03-03 15:25:02,437 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_18.jpg_r0_c1.jpg +2025-03-03 15:25:02,616 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_18.jpg_r1_c0.jpg +2025-03-03 15:25:02,794 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_18.jpg_r1_c1.jpg +2025-03-03 15:25:02,795 [INFO] __main__ - Processing table image: /topic-extraction/img_19.jpg, columns=three +2025-03-03 15:25:05,728 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_19.jpg_r0_c0.jpg +2025-03-03 15:25:06,016 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_19.jpg_r0_c1.jpg +2025-03-03 15:25:06,220 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_19.jpg_r1_c0.jpg +2025-03-03 15:25:06,407 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_19.jpg_r1_c1.jpg +2025-03-03 15:25:06,614 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_19.jpg_r2_c0.jpg +2025-03-03 15:25:06,823 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_19.jpg_r2_c1.jpg +2025-03-03 15:25:06,824 [INFO] __main__ - Processing table image: /topic-extraction/img_20.jpg, columns=three +2025-03-03 15:25:10,984 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_20.jpg_r0_c0.jpg +2025-03-03 15:25:11,271 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_20.jpg_r0_c1.jpg +2025-03-03 15:25:11,476 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_20.jpg_r1_c0.jpg +2025-03-03 15:25:11,689 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_20.jpg_r1_c1.jpg +2025-03-03 15:25:11,690 [INFO] __main__ - Processing table image: /topic-extraction/img_21.jpg, columns=three +2025-03-03 15:25:15,864 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_21.jpg_r0_c0.jpg +2025-03-03 15:25:16,151 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_21.jpg_r0_c1.jpg +2025-03-03 15:25:16,361 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_21.jpg_r1_c0.jpg +2025-03-03 15:25:16,580 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_21.jpg_r1_c1.jpg +2025-03-03 15:25:16,581 [INFO] __main__ - Processing table image: /topic-extraction/img_22.jpg, columns=three +2025-03-03 15:25:20,753 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_22.jpg_r0_c0.jpg +2025-03-03 15:25:21,035 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_22.jpg_r0_c1.jpg +2025-03-03 15:25:21,255 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_22.jpg_r1_c0.jpg +2025-03-03 15:25:21,463 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_22.jpg_r1_c1.jpg +2025-03-03 15:25:21,683 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_22.jpg_r2_c0.jpg +2025-03-03 15:25:21,905 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_22.jpg_r2_c1.jpg +2025-03-03 15:25:22,123 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_22.jpg_r3_c0.jpg +2025-03-03 15:25:22,123 [INFO] __main__ - Processing table image: /topic-extraction/img_23.jpg, columns=three +2025-03-03 15:25:25,343 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_23.jpg_r0_c0.jpg +2025-03-03 15:25:25,658 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_23.jpg_r0_c1.jpg +2025-03-03 15:25:25,875 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_23.jpg_r1_c0.jpg +2025-03-03 15:25:26,081 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_23.jpg_r1_c1.jpg +2025-03-03 15:25:26,082 [INFO] __main__ - Processing table image: /topic-extraction/img_24.jpg, columns=three +2025-03-03 15:25:29,857 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_24.jpg_r0_c0.jpg +2025-03-03 15:25:30,146 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_24.jpg_r0_c1.jpg +2025-03-03 15:25:30,363 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_24.jpg_r1_c0.jpg +2025-03-03 15:25:30,549 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_24.jpg_r1_c1.jpg +2025-03-03 15:25:30,775 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_24.jpg_r2_c0.jpg +2025-03-03 15:25:30,776 [INFO] __main__ - Processing table image: /topic-extraction/img_25.jpg, columns=two +2025-03-03 15:25:34,058 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_25.jpg_r0_c0.jpg +2025-03-03 15:25:34,360 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_25.jpg_r1_c0.jpg +2025-03-03 15:25:34,543 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_25.jpg_r2_c0.jpg +2025-03-03 15:25:34,781 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_25.jpg_r3_c0.jpg +2025-03-03 15:25:34,989 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_25.jpg_r4_c0.jpg +2025-03-03 15:25:35,200 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_25.jpg_r5_c0.jpg +2025-03-03 15:25:35,200 [INFO] __main__ - Processing table image: /topic-extraction/img_26.jpg, columns=three +2025-03-03 15:25:38,544 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_26.jpg_r0_c0.jpg +2025-03-03 15:25:38,844 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_26.jpg_r0_c1.jpg +2025-03-03 15:25:39,043 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_26.jpg_r1_c0.jpg +2025-03-03 15:25:39,275 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_26.jpg_r2_c0.jpg +2025-03-03 15:25:39,275 [INFO] __main__ - Processing table image: /topic-extraction/img_27.jpg, columns=three +2025-03-03 15:25:42,304 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_27.jpg_r0_c0.jpg +2025-03-03 15:25:42,588 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_27.jpg_r0_c1.jpg +2025-03-03 15:25:42,837 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_27.jpg_r1_c0.jpg +2025-03-03 15:25:43,076 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_27.jpg_r1_c1.jpg +2025-03-03 15:25:43,300 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_27.jpg_r2_c0.jpg +2025-03-03 15:25:43,545 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_27.jpg_r3_c0.jpg +2025-03-03 15:25:43,758 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_27.jpg_r4_c0.jpg +2025-03-03 15:25:43,941 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_27.jpg_r4_c1.jpg +2025-03-03 15:25:43,941 [INFO] __main__ - Processing table image: /topic-extraction/img_28.jpg, columns=two +2025-03-03 15:25:47,406 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_28.jpg_r0_c0.jpg +2025-03-03 15:25:47,702 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_28.jpg_r1_c0.jpg +2025-03-03 15:25:47,938 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_28.jpg_r2_c0.jpg +2025-03-03 15:25:48,147 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_28.jpg_r3_c0.jpg +2025-03-03 15:25:48,150 [INFO] __main__ - Final subtopics JSON saved locally at /home/user/app/we/we_ars/final_subtopics.json +2025-03-03 15:25:48,440 [INFO] __main__ - GPU memory cleaned up. +2025-03-03 15:25:48,447 [INFO] __main__ - Processing completed successfully. +2025-03-03 15:35:13,179 [INFO] __main__ - Processing PDF: /home/user/app/input_output/a-level-pearson-mathematics-specification.pdf +2025-03-03 15:35:13,975 [INFO] __main__ - Gemini returned subtopics: {'Paper 1 and Paper 2: Pure Mathematics': [11, 29], 'Paper 3: Statistics and Mechanics': [30, 40]} +2025-03-03 15:35:13,975 [INFO] __main__ - Loaded 1135473 bytes from local file '/home/user/app/input_output/a-level-pearson-mathematics-specification.pdf' +2025-03-03 15:35:14,274 [INFO] __main__ - Computed global offset: 4 +2025-03-03 15:35:14,275 [INFO] __main__ - Processing pages (0-based): [14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43] +2025-03-03 15:36:08,757 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_1.jpg +2025-03-03 15:36:10,548 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_2.jpg +2025-03-03 15:36:11,124 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_3.jpg +2025-03-03 15:36:11,652 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_4.jpg +2025-03-03 15:36:12,292 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_5.jpg +2025-03-03 15:36:12,807 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_6.jpg +2025-03-03 15:36:13,299 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_7.jpg +2025-03-03 15:36:13,756 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_8.jpg +2025-03-03 15:36:14,268 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_9.jpg +2025-03-03 15:36:14,851 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_10.jpg +2025-03-03 15:36:15,306 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_11.jpg +2025-03-03 15:36:15,825 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_12.jpg +2025-03-03 15:36:16,252 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_13.jpg +2025-03-03 15:36:16,864 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_14.jpg +2025-03-03 15:36:17,409 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_15.jpg +2025-03-03 15:36:17,982 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_16.jpg +2025-03-03 15:36:18,557 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_17.jpg +2025-03-03 15:36:18,855 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_18.jpg +2025-03-03 15:36:19,385 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_19.jpg +2025-03-03 15:36:19,960 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_20.jpg +2025-03-03 15:36:20,618 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_21.jpg +2025-03-03 15:36:21,229 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_22.jpg +2025-03-03 15:36:21,682 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_23.jpg +2025-03-03 15:36:22,202 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_24.jpg +2025-03-03 15:36:22,746 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_25.jpg +2025-03-03 15:36:23,199 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_26.jpg +2025-03-03 15:36:23,616 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_27.jpg +2025-03-03 15:36:24,228 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_28.jpg +2025-03-03 15:36:24,610 [INFO] __main__ - Classifying images to detect tables. +2025-03-03 15:36:28,771 [INFO] __main__ - Processing table image: /topic-extraction/img_1.jpg, columns=three +2025-03-03 15:36:32,613 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_1.jpg_r0_c0.jpg +2025-03-03 15:36:33,042 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_1.jpg_r0_c1.jpg +2025-03-03 15:36:33,360 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_1.jpg_r1_c0.jpg +2025-03-03 15:36:33,578 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_1.jpg_r1_c1.jpg +2025-03-03 15:36:33,578 [INFO] __main__ - Processing table image: /topic-extraction/img_2.jpg, columns=three +2025-03-03 15:36:36,960 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_2.jpg_r0_c0.jpg +2025-03-03 15:36:37,258 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_2.jpg_r0_c1.jpg +2025-03-03 15:36:37,495 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_2.jpg_r1_c0.jpg +2025-03-03 15:36:37,741 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_2.jpg_r2_c0.jpg +2025-03-03 15:36:37,966 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_2.jpg_r3_c0.jpg +2025-03-03 15:36:37,966 [INFO] __main__ - Processing table image: /topic-extraction/img_3.jpg, columns=three +2025-03-03 15:36:42,132 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_3.jpg_r0_c0.jpg +2025-03-03 15:36:42,430 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_3.jpg_r0_c1.jpg +2025-03-03 15:36:42,677 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_3.jpg_r1_c0.jpg +2025-03-03 15:36:42,678 [INFO] __main__ - Processing table image: /topic-extraction/img_4.jpg, columns=three +2025-03-03 15:36:45,924 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_4.jpg_r0_c0.jpg +2025-03-03 15:36:46,226 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_4.jpg_r0_c1.jpg +2025-03-03 15:36:46,454 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_4.jpg_r1_c0.jpg +2025-03-03 15:36:46,653 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_4.jpg_r1_c1.jpg +2025-03-03 15:36:46,654 [INFO] __main__ - Processing table image: /topic-extraction/img_5.jpg, columns=three +2025-03-03 15:36:50,162 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_5.jpg_r0_c0.jpg +2025-03-03 15:36:50,480 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_5.jpg_r0_c1.jpg +2025-03-03 15:36:50,684 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_5.jpg_r1_c0.jpg +2025-03-03 15:36:50,903 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_5.jpg_r1_c1.jpg +2025-03-03 15:36:51,121 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_5.jpg_r2_c0.jpg +2025-03-03 15:36:51,121 [INFO] __main__ - Processing table image: /topic-extraction/img_6.jpg, columns=three +2025-03-03 15:36:54,777 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_6.jpg_r0_c0.jpg +2025-03-03 15:36:55,062 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_6.jpg_r0_c1.jpg +2025-03-03 15:36:55,316 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_6.jpg_r1_c0.jpg +2025-03-03 15:36:55,563 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_6.jpg_r1_c1.jpg +2025-03-03 15:36:55,564 [INFO] __main__ - Processing table image: /topic-extraction/img_7.jpg, columns=three +2025-03-03 15:36:59,067 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_7.jpg_r0_c0.jpg +2025-03-03 15:36:59,360 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_7.jpg_r0_c1.jpg +2025-03-03 15:36:59,579 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_7.jpg_r1_c0.jpg +2025-03-03 15:36:59,812 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_7.jpg_r2_c0.jpg +2025-03-03 15:37:00,022 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_7.jpg_r2_c1.jpg +2025-03-03 15:37:00,022 [INFO] __main__ - Processing table image: /topic-extraction/img_8.jpg, columns=three +2025-03-03 15:37:03,516 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r0_c0.jpg +2025-03-03 15:37:03,844 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r0_c1.jpg +2025-03-03 15:37:04,081 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r0_c2.jpg +2025-03-03 15:37:04,297 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r1_c0.jpg +2025-03-03 15:37:04,519 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r1_c1.jpg +2025-03-03 15:37:04,713 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r1_c2.jpg +2025-03-03 15:37:04,938 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r2_c0.jpg +2025-03-03 15:37:05,173 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r2_c1.jpg +2025-03-03 15:37:05,378 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r3_c0.jpg +2025-03-03 15:37:05,606 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r3_c1.jpg +2025-03-03 15:37:05,813 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r4_c0.jpg +2025-03-03 15:37:06,035 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r4_c1.jpg +2025-03-03 15:37:06,230 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r5_c0.jpg +2025-03-03 15:37:06,465 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_8.jpg_r5_c1.jpg +2025-03-03 15:37:06,466 [INFO] __main__ - Processing table image: /topic-extraction/img_9.jpg, columns=three +2025-03-03 15:37:10,452 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r0_c0.jpg +2025-03-03 15:37:10,769 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r0_c1.jpg +2025-03-03 15:37:10,994 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r0_c2.jpg +2025-03-03 15:37:11,186 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r1_c0.jpg +2025-03-03 15:37:11,386 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r1_c1.jpg +2025-03-03 15:37:11,614 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r2_c0.jpg +2025-03-03 15:37:11,854 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r2_c1.jpg +2025-03-03 15:37:12,079 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r3_c0.jpg +2025-03-03 15:37:12,325 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_9.jpg_r3_c1.jpg +2025-03-03 15:37:12,326 [INFO] __main__ - Processing table image: /topic-extraction/img_10.jpg, columns=three +2025-03-03 15:37:15,839 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_10.jpg_r0_c0.jpg +2025-03-03 15:37:16,156 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_10.jpg_r0_c1.jpg +2025-03-03 15:37:16,364 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_10.jpg_r1_c0.jpg +2025-03-03 15:37:16,599 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_10.jpg_r2_c0.jpg +2025-03-03 15:37:16,836 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_10.jpg_r3_c0.jpg +2025-03-03 15:37:16,836 [INFO] __main__ - Processing table image: /topic-extraction/img_11.jpg, columns=two +2025-03-03 15:37:20,234 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_11.jpg_r0_c0.jpg +2025-03-03 15:37:20,533 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_11.jpg_r1_c0.jpg +2025-03-03 15:37:20,755 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_11.jpg_r2_c0.jpg +2025-03-03 15:37:20,986 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_11.jpg_r3_c0.jpg +2025-03-03 15:37:21,212 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_11.jpg_r4_c0.jpg +2025-03-03 15:37:21,460 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_11.jpg_r5_c0.jpg +2025-03-03 15:37:21,461 [INFO] __main__ - Processing table image: /topic-extraction/img_12.jpg, columns=three +2025-03-03 15:37:24,854 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_12.jpg_r0_c0.jpg +2025-03-03 15:37:25,123 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_12.jpg_r0_c1.jpg +2025-03-03 15:37:25,321 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_12.jpg_r1_c0.jpg +2025-03-03 15:37:25,564 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_12.jpg_r1_c1.jpg +2025-03-03 15:37:25,784 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_12.jpg_r2_c0.jpg +2025-03-03 15:37:26,011 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_12.jpg_r2_c1.jpg +2025-03-03 15:37:26,011 [INFO] __main__ - Processing table image: /topic-extraction/img_13.jpg, columns=three +2025-03-03 15:37:29,369 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_13.jpg_r0_c0.jpg +2025-03-03 15:37:29,639 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_13.jpg_r0_c1.jpg +2025-03-03 15:37:29,833 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_13.jpg_r1_c0.jpg +2025-03-03 15:37:30,067 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_13.jpg_r1_c1.jpg +2025-03-03 15:37:30,300 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_13.jpg_r2_c0.jpg +2025-03-03 15:37:30,521 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_13.jpg_r3_c0.jpg +2025-03-03 15:37:30,522 [INFO] __main__ - Processing table image: /topic-extraction/img_14.jpg, columns=three +2025-03-03 15:37:34,845 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r0_c0.jpg +2025-03-03 15:37:35,143 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r0_c1.jpg +2025-03-03 15:37:35,369 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r1_c0.jpg +2025-03-03 15:37:35,584 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r1_c1.jpg +2025-03-03 15:37:35,812 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r2_c0.jpg +2025-03-03 15:37:36,047 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r3_c0.jpg +2025-03-03 15:37:36,263 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r4_c0.jpg +2025-03-03 15:37:36,499 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r4_c1.jpg +2025-03-03 15:37:36,731 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_14.jpg_r5_c0.jpg +2025-03-03 15:37:36,731 [INFO] __main__ - Processing table image: /topic-extraction/img_15.jpg, columns=three +2025-03-03 15:37:40,443 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_15.jpg_r0_c0.jpg +2025-03-03 15:37:40,739 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_15.jpg_r0_c1.jpg +2025-03-03 15:37:40,976 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_15.jpg_r1_c0.jpg +2025-03-03 15:37:41,215 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_15.jpg_r1_c1.jpg +2025-03-03 15:37:41,432 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_15.jpg_r2_c0.jpg +2025-03-03 15:37:41,680 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_15.jpg_r3_c0.jpg +2025-03-03 15:37:41,875 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_15.jpg_r4_c0.jpg +2025-03-03 15:37:41,875 [INFO] __main__ - Processing table image: /topic-extraction/img_16.jpg, columns=three +2025-03-03 15:37:47,207 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r0_c0.jpg +2025-03-03 15:37:47,496 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r0_c1.jpg +2025-03-03 15:37:47,709 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r1_c0.jpg +2025-03-03 15:37:47,933 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r1_c1.jpg +2025-03-03 15:37:48,157 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r2_c0.jpg +2025-03-03 15:37:48,378 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r3_c0.jpg +2025-03-03 15:37:48,606 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r3_c1.jpg +2025-03-03 15:37:48,843 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r4_c0.jpg +2025-03-03 15:37:49,659 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_16.jpg_r5_c0.jpg +2025-03-03 15:37:49,660 [INFO] __main__ - Processing table image: /topic-extraction/img_17.jpg, columns=three +2025-03-03 15:37:54,496 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_17.jpg_r0_c0.jpg +2025-03-03 15:37:54,789 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_17.jpg_r0_c1.jpg +2025-03-03 15:37:55,013 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_17.jpg_r1_c0.jpg +2025-03-03 15:37:55,227 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_17.jpg_r2_c0.jpg +2025-03-03 15:37:55,435 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_17.jpg_r2_c1.jpg +2025-03-03 15:37:55,621 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_17.jpg_r3_c0.jpg +2025-03-03 15:37:55,841 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_17.jpg_r4_c0.jpg +2025-03-03 15:37:56,031 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_17.jpg_r5_c0.jpg +2025-03-03 15:37:56,032 [INFO] __main__ - Processing table image: /topic-extraction/img_18.jpg, columns=three +2025-03-03 15:37:57,656 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_18.jpg_r0_c0.jpg +2025-03-03 15:37:57,843 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_18.jpg_r0_c1.jpg +2025-03-03 15:37:58,025 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_18.jpg_r1_c0.jpg +2025-03-03 15:37:58,205 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_18.jpg_r1_c1.jpg +2025-03-03 15:37:58,206 [INFO] __main__ - Processing table image: /topic-extraction/img_19.jpg, columns=three +2025-03-03 15:38:01,173 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_19.jpg_r0_c0.jpg +2025-03-03 15:38:01,468 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_19.jpg_r0_c1.jpg +2025-03-03 15:38:01,717 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_19.jpg_r1_c0.jpg +2025-03-03 15:38:01,957 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_19.jpg_r1_c1.jpg +2025-03-03 15:38:02,169 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_19.jpg_r2_c0.jpg +2025-03-03 15:38:02,390 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_19.jpg_r2_c1.jpg +2025-03-03 15:38:02,391 [INFO] __main__ - Processing table image: /topic-extraction/img_20.jpg, columns=three +2025-03-03 15:38:06,804 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_20.jpg_r0_c0.jpg +2025-03-03 15:38:07,126 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_20.jpg_r0_c1.jpg +2025-03-03 15:38:07,371 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_20.jpg_r1_c0.jpg +2025-03-03 15:38:07,619 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_20.jpg_r1_c1.jpg +2025-03-03 15:38:07,620 [INFO] __main__ - Processing table image: /topic-extraction/img_21.jpg, columns=three +2025-03-03 15:38:11,257 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_21.jpg_r0_c0.jpg +2025-03-03 15:38:11,521 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_21.jpg_r0_c1.jpg +2025-03-03 15:38:11,778 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_21.jpg_r1_c0.jpg +2025-03-03 15:38:11,997 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_21.jpg_r1_c1.jpg +2025-03-03 15:38:11,997 [INFO] __main__ - Processing table image: /topic-extraction/img_22.jpg, columns=three +2025-03-03 15:38:15,768 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_22.jpg_r0_c0.jpg +2025-03-03 15:38:16,060 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_22.jpg_r0_c1.jpg +2025-03-03 15:38:16,291 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_22.jpg_r1_c0.jpg +2025-03-03 15:38:16,510 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_22.jpg_r1_c1.jpg +2025-03-03 15:38:16,735 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_22.jpg_r2_c0.jpg +2025-03-03 15:38:16,954 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_22.jpg_r2_c1.jpg +2025-03-03 15:38:17,167 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_22.jpg_r3_c0.jpg +2025-03-03 15:38:17,167 [INFO] __main__ - Processing table image: /topic-extraction/img_23.jpg, columns=three +2025-03-03 15:38:20,451 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_23.jpg_r0_c0.jpg +2025-03-03 15:38:20,752 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_23.jpg_r0_c1.jpg +2025-03-03 15:38:20,977 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_23.jpg_r1_c0.jpg +2025-03-03 15:38:21,189 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_23.jpg_r1_c1.jpg +2025-03-03 15:38:21,189 [INFO] __main__ - Processing table image: /topic-extraction/img_24.jpg, columns=three +2025-03-03 15:38:24,928 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_24.jpg_r0_c0.jpg +2025-03-03 15:38:25,223 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_24.jpg_r0_c1.jpg +2025-03-03 15:38:25,467 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_24.jpg_r1_c0.jpg +2025-03-03 15:38:25,682 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_24.jpg_r1_c1.jpg +2025-03-03 15:38:25,891 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_24.jpg_r2_c0.jpg +2025-03-03 15:38:25,892 [INFO] __main__ - Processing table image: /topic-extraction/img_25.jpg, columns=two +2025-03-03 15:38:29,433 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_25.jpg_r0_c0.jpg +2025-03-03 15:38:29,727 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_25.jpg_r1_c0.jpg +2025-03-03 15:38:29,962 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_25.jpg_r2_c0.jpg +2025-03-03 15:38:30,193 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_25.jpg_r3_c0.jpg +2025-03-03 15:38:30,418 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_25.jpg_r4_c0.jpg +2025-03-03 15:38:30,663 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_25.jpg_r5_c0.jpg +2025-03-03 15:38:30,663 [INFO] __main__ - Processing table image: /topic-extraction/img_26.jpg, columns=three +2025-03-03 15:38:33,787 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_26.jpg_r0_c0.jpg +2025-03-03 15:38:34,093 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_26.jpg_r0_c1.jpg +2025-03-03 15:38:34,340 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_26.jpg_r1_c0.jpg +2025-03-03 15:38:34,527 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_26.jpg_r2_c0.jpg +2025-03-03 15:38:34,528 [INFO] __main__ - Processing table image: /topic-extraction/img_27.jpg, columns=three +2025-03-03 15:38:37,830 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_27.jpg_r0_c0.jpg +2025-03-03 15:38:38,135 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_27.jpg_r0_c1.jpg +2025-03-03 15:38:38,348 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_27.jpg_r1_c0.jpg +2025-03-03 15:38:38,557 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_27.jpg_r1_c1.jpg +2025-03-03 15:38:38,779 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_27.jpg_r2_c0.jpg +2025-03-03 15:38:38,985 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_27.jpg_r3_c0.jpg +2025-03-03 15:38:39,202 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_27.jpg_r4_c0.jpg +2025-03-03 15:38:39,412 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_27.jpg_r4_c1.jpg +2025-03-03 15:38:39,412 [INFO] __main__ - Processing table image: /topic-extraction/img_28.jpg, columns=two +2025-03-03 15:38:42,913 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_28.jpg_r0_c0.jpg +2025-03-03 15:38:43,203 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_28.jpg_r1_c0.jpg +2025-03-03 15:38:43,415 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_28.jpg_r2_c0.jpg +2025-03-03 15:38:43,632 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/table_s3_img_28.jpg_r3_c0.jpg +2025-03-03 15:38:43,635 [INFO] __main__ - Final subtopics JSON saved locally at /home/user/app/we/we_ars/final_subtopics.json +2025-03-03 15:38:43,937 [INFO] __main__ - GPU memory cleaned up. +2025-03-03 15:38:43,944 [INFO] __main__ - Processing completed successfully. +2025-03-03 15:42:34,738 [INFO] __main__ - Processing PDF: /home/user/app/input_output/a-level-pearson-mathematics-specification.pdf +2025-03-03 15:42:35,614 [INFO] __main__ - Gemini returned subtopics: {'Paper 1 and Paper 2: Pure Mathematics': [11, 29], 'Paper 3: Statistics and Mechanics': [30, 40]} +2025-03-03 15:42:35,614 [INFO] __main__ - Loaded 1135473 bytes from local file '/home/user/app/input_output/a-level-pearson-mathematics-specification.pdf' +2025-03-03 15:42:35,901 [INFO] __main__ - Computed global offset: 4 +2025-03-03 15:42:35,901 [INFO] __main__ - Processing pages (0-based): [14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43] +2025-03-03 15:43:32,916 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_1.jpg +2025-03-03 15:43:34,890 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_2.jpg +2025-03-03 15:43:35,454 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_3.jpg +2025-03-03 15:43:35,979 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_4.jpg +2025-03-03 15:43:36,599 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_5.jpg +2025-03-03 15:43:37,168 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_6.jpg +2025-03-03 15:43:37,654 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_7.jpg +2025-03-03 15:43:38,122 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_8.jpg +2025-03-03 15:43:38,625 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_9.jpg +2025-03-03 15:43:39,217 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_10.jpg +2025-03-03 15:43:39,653 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_11.jpg +2025-03-03 15:43:40,219 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_12.jpg +2025-03-03 15:43:40,688 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_13.jpg +2025-03-03 15:43:41,333 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_14.jpg +2025-03-03 15:43:41,810 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_15.jpg +2025-03-03 15:43:42,373 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_16.jpg +2025-03-03 15:43:42,930 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_17.jpg +2025-03-03 15:43:43,215 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_18.jpg +2025-03-03 15:43:43,761 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_19.jpg +2025-03-03 15:43:44,343 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_20.jpg +2025-03-03 15:43:44,916 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_21.jpg +2025-03-03 15:43:45,497 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_22.jpg +2025-03-03 15:43:46,030 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_23.jpg +2025-03-03 15:43:46,531 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_24.jpg +2025-03-03 15:43:47,102 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_25.jpg +2025-03-03 15:43:47,527 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_26.jpg +2025-03-03 15:43:47,978 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_27.jpg +2025-03-03 15:43:48,600 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_28.jpg +2025-03-03 15:43:48,979 [INFO] __main__ - Classifying images to detect tables. +2025-03-03 15:43:53,041 [INFO] __main__ - Processing table image: /topic-extraction/img_1.jpg, columns=three +2025-03-03 15:43:55,635 [INFO] __main__ - Processing table image: /topic-extraction/img_2.jpg, columns=three +2025-03-03 15:43:58,390 [INFO] __main__ - Processing table image: /topic-extraction/img_3.jpg, columns=three +2025-03-03 15:44:01,626 [INFO] __main__ - Processing table image: /topic-extraction/img_4.jpg, columns=three +2025-03-03 15:44:04,265 [INFO] __main__ - Processing table image: /topic-extraction/img_5.jpg, columns=three +2025-03-03 15:44:07,390 [INFO] __main__ - Processing table image: /topic-extraction/img_6.jpg, columns=three +2025-03-03 15:44:10,407 [INFO] __main__ - Processing table image: /topic-extraction/img_7.jpg, columns=three +2025-03-03 15:44:13,406 [INFO] __main__ - Processing table image: /topic-extraction/img_8.jpg, columns=three +2025-03-03 15:44:16,584 [INFO] __main__ - Processing table image: /topic-extraction/img_9.jpg, columns=three +2025-03-03 15:44:19,774 [INFO] __main__ - Processing table image: /topic-extraction/img_10.jpg, columns=three +2025-03-03 15:44:22,710 [INFO] __main__ - Processing table image: /topic-extraction/img_11.jpg, columns=two +2025-03-03 15:44:25,348 [INFO] __main__ - Processing table image: /topic-extraction/img_12.jpg, columns=three +2025-03-03 15:44:28,209 [INFO] __main__ - Processing table image: /topic-extraction/img_13.jpg, columns=three +2025-03-03 15:44:30,871 [INFO] __main__ - Processing table image: /topic-extraction/img_14.jpg, columns=three +2025-03-03 15:44:34,586 [INFO] __main__ - Processing table image: /topic-extraction/img_15.jpg, columns=three +2025-03-03 15:44:37,728 [INFO] __main__ - Processing table image: /topic-extraction/img_16.jpg, columns=three +2025-03-03 15:44:41,186 [INFO] __main__ - Processing table image: /topic-extraction/img_17.jpg, columns=three +2025-03-03 15:44:44,225 [INFO] __main__ - Processing table image: /topic-extraction/img_18.jpg, columns=three +2025-03-03 15:44:45,215 [INFO] __main__ - Processing table image: /topic-extraction/img_19.jpg, columns=three +2025-03-03 15:44:47,826 [INFO] __main__ - Processing table image: /topic-extraction/img_20.jpg, columns=three +2025-03-03 15:44:51,247 [INFO] __main__ - Processing table image: /topic-extraction/img_21.jpg, columns=three +2025-03-03 15:44:54,347 [INFO] __main__ - Processing table image: /topic-extraction/img_22.jpg, columns=three +2025-03-03 15:44:58,189 [INFO] __main__ - Processing table image: /topic-extraction/img_23.jpg, columns=three +2025-03-03 15:45:01,536 [INFO] __main__ - Processing table image: /topic-extraction/img_24.jpg, columns=three +2025-03-03 15:45:04,841 [INFO] __main__ - Processing table image: /topic-extraction/img_25.jpg, columns=two +2025-03-03 15:45:07,739 [INFO] __main__ - Processing table image: /topic-extraction/img_26.jpg, columns=three +2025-03-03 15:45:10,526 [INFO] __main__ - Processing table image: /topic-extraction/img_27.jpg, columns=three +2025-03-03 15:45:13,345 [INFO] __main__ - Processing table image: /topic-extraction/img_28.jpg, columns=two +2025-03-03 15:45:16,242 [INFO] __main__ - Final subtopics JSON saved locally at /home/user/app/pearson_json/final_subtopics.json +2025-03-03 15:45:16,577 [INFO] __main__ - GPU memory cleaned up. +2025-03-03 15:45:16,586 [INFO] __main__ - Processing completed successfully. +2025-03-03 15:57:41,431 [INFO] __main__ - Processing PDF: /home/user/app/input_output/a-level-pearson-mathematics-specification.pdf +2025-03-03 15:57:42,258 [INFO] __main__ - Gemini returned subtopics: {'Paper 1 and Paper 2: Pure Mathematics': [11, 29], 'Paper 3: Statistics and Mechanics': [30, 40]} +2025-03-03 15:57:42,259 [INFO] __main__ - Loaded 1135473 bytes from local file '/home/user/app/input_output/a-level-pearson-mathematics-specification.pdf' +2025-03-03 15:57:42,742 [INFO] __main__ - Computed global offset: 4 +2025-03-03 15:57:42,743 [INFO] __main__ - Processing pages (0-based): [14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43] +2025-03-03 15:58:39,849 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_1.jpg +2025-03-03 15:58:41,633 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_2.jpg +2025-03-03 15:58:42,153 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_3.jpg +2025-03-03 15:58:42,662 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_4.jpg +2025-03-03 15:58:43,172 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_5.jpg +2025-03-03 15:58:43,731 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_6.jpg +2025-03-03 15:58:44,204 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_7.jpg +2025-03-03 15:58:44,670 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_8.jpg +2025-03-03 15:58:45,137 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_9.jpg +2025-03-03 15:58:45,759 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_10.jpg +2025-03-03 15:58:46,209 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_11.jpg +2025-03-03 15:58:46,777 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_12.jpg +2025-03-03 15:58:47,219 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_13.jpg +2025-03-03 15:58:47,782 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_14.jpg +2025-03-03 15:58:48,283 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_15.jpg +2025-03-03 15:58:48,810 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_16.jpg +2025-03-03 15:58:49,338 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_17.jpg +2025-03-03 15:58:49,627 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_18.jpg +2025-03-03 15:58:50,141 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_19.jpg +2025-03-03 15:58:50,715 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_20.jpg +2025-03-03 15:58:51,276 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_21.jpg +2025-03-03 15:58:51,914 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_22.jpg +2025-03-03 15:58:52,367 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_23.jpg +2025-03-03 15:58:52,816 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_24.jpg +2025-03-03 15:58:53,315 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_25.jpg +2025-03-03 15:58:53,749 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_26.jpg +2025-03-03 15:58:54,300 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_27.jpg +2025-03-03 15:58:54,855 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_28.jpg +2025-03-03 15:58:55,224 [INFO] __main__ - Classifying images to detect tables. +2025-03-03 15:58:59,109 [INFO] __main__ - Processing table image: /topic-extraction/img_1.jpg, columns=three +2025-03-03 15:59:02,125 [INFO] __main__ - Processing table image: /topic-extraction/img_2.jpg, columns=three +2025-03-03 15:59:04,863 [INFO] __main__ - Processing table image: /topic-extraction/img_3.jpg, columns=three +2025-03-03 15:59:07,805 [INFO] __main__ - Processing table image: /topic-extraction/img_4.jpg, columns=three +2025-03-03 15:59:10,471 [INFO] __main__ - Processing table image: /topic-extraction/img_5.jpg, columns=three +2025-03-03 15:59:13,381 [INFO] __main__ - Processing table image: /topic-extraction/img_6.jpg, columns=three +2025-03-03 15:59:16,869 [INFO] __main__ - Processing table image: /topic-extraction/img_7.jpg, columns=three +2025-03-03 15:59:20,177 [INFO] __main__ - Processing table image: /topic-extraction/img_8.jpg, columns=three +2025-03-03 15:59:23,119 [INFO] __main__ - Processing table image: /topic-extraction/img_9.jpg, columns=three +2025-03-03 15:59:26,242 [INFO] __main__ - Processing table image: /topic-extraction/img_10.jpg, columns=three +2025-03-03 15:59:29,179 [INFO] __main__ - Processing table image: /topic-extraction/img_11.jpg, columns=two +2025-03-03 15:59:32,005 [INFO] __main__ - Processing table image: /topic-extraction/img_12.jpg, columns=three +2025-03-03 15:59:34,843 [INFO] __main__ - Processing table image: /topic-extraction/img_13.jpg, columns=three +2025-03-03 15:59:37,550 [INFO] __main__ - Processing table image: /topic-extraction/img_14.jpg, columns=three +2025-03-03 15:59:41,218 [INFO] __main__ - Processing table image: /topic-extraction/img_15.jpg, columns=three +2025-03-03 15:59:44,176 [INFO] __main__ - Processing table image: /topic-extraction/img_16.jpg, columns=three +2025-03-03 15:59:48,175 [INFO] __main__ - Processing table image: /topic-extraction/img_17.jpg, columns=three +2025-03-03 15:59:51,345 [INFO] __main__ - Processing table image: /topic-extraction/img_18.jpg, columns=three +2025-03-03 15:59:52,204 [INFO] __main__ - Processing table image: /topic-extraction/img_19.jpg, columns=three +2025-03-03 15:59:54,653 [INFO] __main__ - Processing table image: /topic-extraction/img_20.jpg, columns=three +2025-03-03 15:59:58,328 [INFO] __main__ - Processing table image: /topic-extraction/img_21.jpg, columns=three +2025-03-03 16:00:01,476 [INFO] __main__ - Processing table image: /topic-extraction/img_22.jpg, columns=three +2025-03-03 16:00:04,927 [INFO] __main__ - Processing table image: /topic-extraction/img_23.jpg, columns=three +2025-03-03 16:00:07,802 [INFO] __main__ - Processing table image: /topic-extraction/img_24.jpg, columns=three +2025-03-03 16:00:10,839 [INFO] __main__ - Processing table image: /topic-extraction/img_25.jpg, columns=two +2025-03-03 16:00:13,583 [INFO] __main__ - Processing table image: /topic-extraction/img_26.jpg, columns=three +2025-03-03 16:00:16,261 [INFO] __main__ - Processing table image: /topic-extraction/img_27.jpg, columns=three +2025-03-03 16:00:18,834 [INFO] __main__ - Processing table image: /topic-extraction/img_28.jpg, columns=two +2025-03-03 16:00:21,585 [INFO] __main__ - Final subtopics JSON saved locally at /home/user/app/pearson_json/final_subtopics.json +2025-03-03 16:00:21,894 [INFO] __main__ - GPU memory cleaned up. +2025-03-03 16:00:21,904 [INFO] __main__ - Processing completed successfully. +2025-03-03 16:10:28,834 [INFO] __main__ - Processing PDF: /home/user/app/input_output/a-level-pearson-mathematics-specification.pdf +2025-03-03 16:10:29,650 [INFO] __main__ - Gemini returned subtopics: {'Paper 1 and Paper 2: Pure Mathematics': [11, 29], 'Paper 3: Statistics and Mechanics': [30, 40]} +2025-03-03 16:10:29,652 [INFO] __main__ - Loaded 1135473 bytes from local file '/home/user/app/input_output/a-level-pearson-mathematics-specification.pdf' +2025-03-03 16:10:30,160 [INFO] __main__ - Computed global offset: 4 +2025-03-03 16:10:30,161 [INFO] __main__ - Processing pages (0-based): [14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43] +2025-03-03 16:11:28,663 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_1.jpg +2025-03-03 16:11:30,405 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_2.jpg +2025-03-03 16:11:30,930 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_3.jpg +2025-03-03 16:11:31,457 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_4.jpg +2025-03-03 16:11:32,063 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_5.jpg +2025-03-03 16:11:32,602 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_6.jpg +2025-03-03 16:11:33,092 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_7.jpg +2025-03-03 16:11:33,567 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_8.jpg +2025-03-03 16:11:34,048 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_9.jpg +2025-03-03 16:11:34,608 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_10.jpg +2025-03-03 16:11:35,064 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_11.jpg +2025-03-03 16:11:35,615 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_12.jpg +2025-03-03 16:11:36,193 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_13.jpg +2025-03-03 16:11:36,888 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_14.jpg +2025-03-03 16:11:37,467 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_15.jpg +2025-03-03 16:11:38,018 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_16.jpg +2025-03-03 16:11:38,628 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_17.jpg +2025-03-03 16:11:38,959 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_18.jpg +2025-03-03 16:11:39,505 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_19.jpg +2025-03-03 16:11:40,087 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_20.jpg +2025-03-03 16:11:40,633 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_21.jpg +2025-03-03 16:11:41,250 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_22.jpg +2025-03-03 16:11:41,747 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_23.jpg +2025-03-03 16:11:42,227 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_24.jpg +2025-03-03 16:11:42,777 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_25.jpg +2025-03-03 16:11:43,219 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_26.jpg +2025-03-03 16:11:43,659 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_27.jpg +2025-03-03 16:11:44,281 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_28.jpg +2025-03-03 16:11:44,761 [INFO] __main__ - Classifying images to detect tables. +2025-03-03 16:11:48,542 [INFO] __main__ - Processing table image: /topic-extraction/img_1.jpg, columns=three +2025-03-03 16:11:51,341 [INFO] __main__ - Processing table image: /topic-extraction/img_2.jpg, columns=three +2025-03-03 16:11:54,134 [INFO] __main__ - Processing table image: /topic-extraction/img_3.jpg, columns=three +2025-03-03 16:11:57,533 [INFO] __main__ - Processing table image: /topic-extraction/img_4.jpg, columns=three +2025-03-03 16:12:00,316 [INFO] __main__ - Processing table image: /topic-extraction/img_5.jpg, columns=three +2025-03-03 16:12:03,403 [INFO] __main__ - Processing table image: /topic-extraction/img_6.jpg, columns=three +2025-03-03 16:12:06,708 [INFO] __main__ - Processing table image: /topic-extraction/img_7.jpg, columns=three +2025-03-03 16:12:09,743 [INFO] __main__ - Processing table image: /topic-extraction/img_8.jpg, columns=three +2025-03-03 16:12:12,739 [INFO] __main__ - Processing table image: /topic-extraction/img_9.jpg, columns=three +2025-03-03 16:12:15,944 [INFO] __main__ - Processing table image: /topic-extraction/img_10.jpg, columns=three +2025-03-03 16:12:19,014 [INFO] __main__ - Processing table image: /topic-extraction/img_11.jpg, columns=two +2025-03-03 16:12:22,037 [INFO] __main__ - Processing table image: /topic-extraction/img_12.jpg, columns=three +2025-03-03 16:12:25,060 [INFO] __main__ - Processing table image: /topic-extraction/img_13.jpg, columns=three +2025-03-03 16:12:27,839 [INFO] __main__ - Processing table image: /topic-extraction/img_14.jpg, columns=three +2025-03-03 16:12:31,482 [INFO] __main__ - Processing table image: /topic-extraction/img_15.jpg, columns=three +2025-03-03 16:12:34,595 [INFO] __main__ - Processing table image: /topic-extraction/img_16.jpg, columns=three +2025-03-03 16:12:38,218 [INFO] __main__ - Processing table image: /topic-extraction/img_17.jpg, columns=three +2025-03-03 16:12:41,340 [INFO] __main__ - Processing table image: /topic-extraction/img_18.jpg, columns=three +2025-03-03 16:12:42,340 [INFO] __main__ - Processing table image: /topic-extraction/img_19.jpg, columns=three +2025-03-03 16:12:44,692 [INFO] __main__ - Processing table image: /topic-extraction/img_20.jpg, columns=three +2025-03-03 16:12:48,729 [INFO] __main__ - Processing table image: /topic-extraction/img_21.jpg, columns=three +2025-03-03 16:12:51,870 [INFO] __main__ - Processing table image: /topic-extraction/img_22.jpg, columns=three +2025-03-03 16:12:55,261 [INFO] __main__ - Processing table image: /topic-extraction/img_23.jpg, columns=three +2025-03-03 16:12:58,310 [INFO] __main__ - Processing table image: /topic-extraction/img_24.jpg, columns=three +2025-03-03 16:13:01,583 [INFO] __main__ - Processing table image: /topic-extraction/img_25.jpg, columns=two +2025-03-03 16:13:04,585 [INFO] __main__ - Processing table image: /topic-extraction/img_26.jpg, columns=three +2025-03-03 16:13:07,386 [INFO] __main__ - Processing table image: /topic-extraction/img_27.jpg, columns=three +2025-03-03 16:13:10,093 [INFO] __main__ - Processing table image: /topic-extraction/img_28.jpg, columns=two +2025-03-03 16:13:12,995 [INFO] __main__ - Final subtopics JSON saved locally at /home/user/app/pearson_json/final_subtopics.json +2025-03-03 16:13:13,319 [INFO] __main__ - GPU memory cleaned up. +2025-03-03 16:13:13,326 [INFO] __main__ - Processing completed successfully. +2025-03-03 16:17:39,572 [INFO] __main__ - Processing PDF: /home/user/app/input_output/a-level-pearson-mathematics-specification.pdf +2025-03-03 16:17:40,359 [INFO] __main__ - Gemini returned subtopics: {'Paper 1 and Paper 2: Pure Mathematics': [11, 29], 'Paper 3: Statistics and Mechanics': [30, 40]} +2025-03-03 16:17:40,360 [INFO] __main__ - Loaded 1135473 bytes from local file '/home/user/app/input_output/a-level-pearson-mathematics-specification.pdf' +2025-03-03 16:17:40,832 [INFO] __main__ - Computed global offset: 4 +2025-03-03 16:17:40,832 [INFO] __main__ - Processing pages (0-based): [14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43] +2025-03-03 16:18:36,191 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_1.jpg +2025-03-03 16:18:38,048 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_2.jpg +2025-03-03 16:18:38,583 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_3.jpg +2025-03-03 16:18:39,096 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_4.jpg +2025-03-03 16:18:39,618 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_5.jpg +2025-03-03 16:18:40,200 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_6.jpg +2025-03-03 16:18:40,691 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_7.jpg +2025-03-03 16:18:41,167 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_8.jpg +2025-03-03 16:18:41,618 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_9.jpg +2025-03-03 16:18:42,191 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_10.jpg +2025-03-03 16:18:42,630 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_11.jpg +2025-03-03 16:18:43,147 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_12.jpg +2025-03-03 16:18:43,615 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_13.jpg +2025-03-03 16:18:44,242 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_14.jpg +2025-03-03 16:18:44,697 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_15.jpg +2025-03-03 16:18:45,344 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_16.jpg +2025-03-03 16:18:45,897 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_17.jpg +2025-03-03 16:18:46,196 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_18.jpg +2025-03-03 16:18:46,687 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_19.jpg +2025-03-03 16:18:47,347 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_20.jpg +2025-03-03 16:18:47,886 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_21.jpg +2025-03-03 16:18:48,468 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_22.jpg +2025-03-03 16:18:48,884 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_23.jpg +2025-03-03 16:18:49,349 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_24.jpg +2025-03-03 16:18:49,906 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_25.jpg +2025-03-03 16:18:50,347 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_26.jpg +2025-03-03 16:18:50,747 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_27.jpg +2025-03-03 16:18:51,318 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_28.jpg +2025-03-03 16:18:51,718 [INFO] __main__ - Classifying images to detect tables. +2025-03-03 16:18:55,669 [INFO] __main__ - Processing table image: /topic-extraction/img_1.jpg, columns=three +2025-03-03 16:18:58,365 [INFO] __main__ - Processing table image: /topic-extraction/img_2.jpg, columns=three +2025-03-03 16:19:01,432 [INFO] __main__ - Processing table image: /topic-extraction/img_3.jpg, columns=three +2025-03-03 16:19:04,431 [INFO] __main__ - Processing table image: /topic-extraction/img_4.jpg, columns=three +2025-03-03 16:19:07,043 [INFO] __main__ - Processing table image: /topic-extraction/img_5.jpg, columns=three +2025-03-03 16:19:09,947 [INFO] __main__ - Processing table image: /topic-extraction/img_6.jpg, columns=three +2025-03-03 16:19:13,069 [INFO] __main__ - Processing table image: /topic-extraction/img_7.jpg, columns=three +2025-03-03 16:19:16,110 [INFO] __main__ - Processing table image: /topic-extraction/img_8.jpg, columns=three +2025-03-03 16:19:19,225 [INFO] __main__ - Processing table image: /topic-extraction/img_9.jpg, columns=three +2025-03-03 16:19:22,435 [INFO] __main__ - Processing table image: /topic-extraction/img_10.jpg, columns=three +2025-03-03 16:19:25,263 [INFO] __main__ - Processing table image: /topic-extraction/img_11.jpg, columns=two +2025-03-03 16:19:27,914 [INFO] __main__ - Processing table image: /topic-extraction/img_12.jpg, columns=three +2025-03-03 16:19:30,818 [INFO] __main__ - Processing table image: /topic-extraction/img_13.jpg, columns=three +2025-03-03 16:19:33,439 [INFO] __main__ - Processing table image: /topic-extraction/img_14.jpg, columns=three +2025-03-03 16:19:37,263 [INFO] __main__ - Processing table image: /topic-extraction/img_15.jpg, columns=three +2025-03-03 16:19:40,284 [INFO] __main__ - Processing table image: /topic-extraction/img_16.jpg, columns=three +2025-03-03 16:19:43,672 [INFO] __main__ - Processing table image: /topic-extraction/img_17.jpg, columns=three +2025-03-03 16:19:46,752 [INFO] __main__ - Processing table image: /topic-extraction/img_18.jpg, columns=three +2025-03-03 16:19:47,590 [INFO] __main__ - Processing table image: /topic-extraction/img_19.jpg, columns=three +2025-03-03 16:19:49,890 [INFO] __main__ - Processing table image: /topic-extraction/img_20.jpg, columns=three +2025-03-03 16:19:53,362 [INFO] __main__ - Processing table image: /topic-extraction/img_21.jpg, columns=three +2025-03-03 16:19:56,514 [INFO] __main__ - Processing table image: /topic-extraction/img_22.jpg, columns=three +2025-03-03 16:19:59,760 [INFO] __main__ - Processing table image: /topic-extraction/img_23.jpg, columns=three +2025-03-03 16:20:02,816 [INFO] __main__ - Processing table image: /topic-extraction/img_24.jpg, columns=three +2025-03-03 16:20:05,964 [INFO] __main__ - Processing table image: /topic-extraction/img_25.jpg, columns=two +2025-03-03 16:20:08,853 [INFO] __main__ - Processing table image: /topic-extraction/img_26.jpg, columns=three +2025-03-03 16:20:11,414 [INFO] __main__ - Processing table image: /topic-extraction/img_27.jpg, columns=three +2025-03-03 16:20:14,113 [INFO] __main__ - Processing table image: /topic-extraction/img_28.jpg, columns=two +2025-03-03 16:20:17,013 [INFO] __main__ - Final subtopics JSON saved locally at /home/user/app/pearson_json/final_subtopics.json +2025-03-03 16:20:17,302 [INFO] __main__ - GPU memory cleaned up. +2025-03-03 16:20:17,310 [INFO] __main__ - Processing completed successfully. +2025-03-03 16:29:55,533 [INFO] __main__ - Processing PDF: /home/user/app/input_output/a-level-pearson-mathematics-specification.pdf +2025-03-03 16:29:56,335 [INFO] __main__ - Gemini returned subtopics: {'Paper 1 and Paper 2: Pure Mathematics': [11, 29], 'Paper 3: Statistics and Mechanics': [30, 40]} +2025-03-03 16:29:56,335 [INFO] __main__ - Loaded 1135473 bytes from local file '/home/user/app/input_output/a-level-pearson-mathematics-specification.pdf' +2025-03-03 16:29:56,683 [INFO] __main__ - Computed global offset: 4 +2025-03-03 16:29:56,684 [INFO] __main__ - Processing pages (0-based): [14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43] +2025-03-03 16:30:54,842 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_1.jpg +2025-03-03 16:30:56,704 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_2.jpg +2025-03-03 16:30:57,248 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_3.jpg +2025-03-03 16:30:57,760 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_4.jpg +2025-03-03 16:30:58,328 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_5.jpg +2025-03-03 16:30:58,896 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_6.jpg +2025-03-03 16:30:59,381 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_7.jpg +2025-03-03 16:30:59,848 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_8.jpg +2025-03-03 16:31:00,350 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_9.jpg +2025-03-03 16:31:00,906 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_10.jpg +2025-03-03 16:31:01,322 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_11.jpg +2025-03-03 16:31:01,858 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_12.jpg +2025-03-03 16:31:02,304 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_13.jpg +2025-03-03 16:31:02,900 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_14.jpg +2025-03-03 16:31:03,362 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_15.jpg +2025-03-03 16:31:03,956 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_16.jpg +2025-03-03 16:31:04,503 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_17.jpg +2025-03-03 16:31:04,806 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_18.jpg +2025-03-03 16:31:05,281 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_19.jpg +2025-03-03 16:31:05,889 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_20.jpg +2025-03-03 16:31:06,437 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_21.jpg +2025-03-03 16:31:07,001 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_22.jpg +2025-03-03 16:31:07,493 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_23.jpg +2025-03-03 16:31:07,962 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_24.jpg +2025-03-03 16:31:08,501 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_25.jpg +2025-03-03 16:31:09,004 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_26.jpg +2025-03-03 16:31:09,512 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_27.jpg +2025-03-03 16:31:10,086 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_28.jpg +2025-03-03 16:31:10,503 [INFO] __main__ - Classifying images to detect tables. +2025-03-03 16:31:14,364 [INFO] __main__ - Processing table image: /topic-extraction/img_1.jpg, columns=three +2025-03-03 16:31:17,142 [INFO] __main__ - Extracted 2 rows from /tmp/tmp3fu7msc1.jpg +2025-03-03 16:31:17,142 [INFO] __main__ - Row 0 has 2 cells +2025-03-03 16:31:17,142 [INFO] __main__ - Row 1 has 2 cells +2025-03-03 16:31:17,240 [WARNING] __main__ - Cell image not found: /tmp/tmp3fu7msc1.jpg_rows/row_0/col_0.jpg +2025-03-03 16:31:17,241 [WARNING] __main__ - Cell image not found: /tmp/tmp3fu7msc1.jpg_rows/row_0/col_1.jpg +2025-03-03 16:31:17,241 [WARNING] __main__ - Cell image not found: /tmp/tmp3fu7msc1.jpg_rows/row_1/col_0.jpg +2025-03-03 16:31:17,241 [WARNING] __main__ - Cell image not found: /tmp/tmp3fu7msc1.jpg_rows/row_1/col_1.jpg +2025-03-03 16:31:17,241 [INFO] __main__ - Processing table image: /topic-extraction/img_2.jpg, columns=three +2025-03-03 16:31:19,966 [INFO] __main__ - Extracted 4 rows from /tmp/tmp24x1tzyf.jpg +2025-03-03 16:31:19,967 [INFO] __main__ - Row 0 has 2 cells +2025-03-03 16:31:19,967 [INFO] __main__ - Row 1 has 1 cells +2025-03-03 16:31:19,967 [INFO] __main__ - Row 2 has 1 cells +2025-03-03 16:31:19,967 [INFO] __main__ - Row 3 has 1 cells +2025-03-03 16:31:20,069 [WARNING] __main__ - Cell image not found: /tmp/tmp24x1tzyf.jpg_rows/row_0/col_0.jpg +2025-03-03 16:31:20,069 [WARNING] __main__ - Cell image not found: /tmp/tmp24x1tzyf.jpg_rows/row_0/col_1.jpg +2025-03-03 16:31:20,070 [WARNING] __main__ - Cell image not found: /tmp/tmp24x1tzyf.jpg_rows/row_1/col_0.jpg +2025-03-03 16:31:20,070 [WARNING] __main__ - Cell image not found: /tmp/tmp24x1tzyf.jpg_rows/row_2/col_0.jpg +2025-03-03 16:31:20,070 [WARNING] __main__ - Cell image not found: /tmp/tmp24x1tzyf.jpg_rows/row_3/col_0.jpg +2025-03-03 16:31:20,070 [INFO] __main__ - Processing table image: /topic-extraction/img_3.jpg, columns=three +2025-03-03 16:31:22,860 [INFO] __main__ - Extracted 2 rows from /tmp/tmpqj8kzjlh.jpg +2025-03-03 16:31:22,860 [INFO] __main__ - Row 0 has 2 cells +2025-03-03 16:31:22,861 [INFO] __main__ - Row 1 has 1 cells +2025-03-03 16:31:22,974 [WARNING] __main__ - Cell image not found: /tmp/tmpqj8kzjlh.jpg_rows/row_0/col_0.jpg +2025-03-03 16:31:22,974 [WARNING] __main__ - Cell image not found: /tmp/tmpqj8kzjlh.jpg_rows/row_0/col_1.jpg +2025-03-03 16:31:22,974 [WARNING] __main__ - Cell image not found: /tmp/tmpqj8kzjlh.jpg_rows/row_1/col_0.jpg +2025-03-03 16:31:22,975 [INFO] __main__ - Processing table image: /topic-extraction/img_4.jpg, columns=three +2025-03-03 16:31:25,631 [INFO] __main__ - Extracted 2 rows from /tmp/tmp3i00mmdz.jpg +2025-03-03 16:31:25,632 [INFO] __main__ - Row 0 has 2 cells +2025-03-03 16:31:25,632 [INFO] __main__ - Row 1 has 2 cells +2025-03-03 16:31:25,740 [WARNING] __main__ - Cell image not found: /tmp/tmp3i00mmdz.jpg_rows/row_0/col_0.jpg +2025-03-03 16:31:25,740 [WARNING] __main__ - Cell image not found: /tmp/tmp3i00mmdz.jpg_rows/row_0/col_1.jpg +2025-03-03 16:31:25,741 [WARNING] __main__ - Cell image not found: /tmp/tmp3i00mmdz.jpg_rows/row_1/col_0.jpg +2025-03-03 16:31:25,741 [WARNING] __main__ - Cell image not found: /tmp/tmp3i00mmdz.jpg_rows/row_1/col_1.jpg +2025-03-03 16:31:25,741 [INFO] __main__ - Processing table image: /topic-extraction/img_5.jpg, columns=three +2025-03-03 16:31:29,048 [INFO] __main__ - Extracted 3 rows from /tmp/tmpo6lnusuq.jpg +2025-03-03 16:31:29,048 [INFO] __main__ - Row 0 has 2 cells +2025-03-03 16:31:29,049 [INFO] __main__ - Row 1 has 2 cells +2025-03-03 16:31:29,049 [INFO] __main__ - Row 2 has 1 cells +2025-03-03 16:31:29,152 [WARNING] __main__ - Cell image not found: /tmp/tmpo6lnusuq.jpg_rows/row_0/col_0.jpg +2025-03-03 16:31:29,152 [WARNING] __main__ - Cell image not found: /tmp/tmpo6lnusuq.jpg_rows/row_0/col_1.jpg +2025-03-03 16:31:29,152 [WARNING] __main__ - Cell image not found: /tmp/tmpo6lnusuq.jpg_rows/row_1/col_0.jpg +2025-03-03 16:31:29,152 [WARNING] __main__ - Cell image not found: /tmp/tmpo6lnusuq.jpg_rows/row_1/col_1.jpg +2025-03-03 16:31:29,152 [WARNING] __main__ - Cell image not found: /tmp/tmpo6lnusuq.jpg_rows/row_2/col_0.jpg +2025-03-03 16:31:29,152 [INFO] __main__ - Processing table image: /topic-extraction/img_6.jpg, columns=three +2025-03-03 16:31:32,089 [INFO] __main__ - Extracted 2 rows from /tmp/tmpk3rl8rco.jpg +2025-03-03 16:31:32,089 [INFO] __main__ - Row 0 has 2 cells +2025-03-03 16:31:32,089 [INFO] __main__ - Row 1 has 2 cells +2025-03-03 16:31:32,201 [WARNING] __main__ - Cell image not found: /tmp/tmpk3rl8rco.jpg_rows/row_0/col_0.jpg +2025-03-03 16:31:32,201 [WARNING] __main__ - Cell image not found: /tmp/tmpk3rl8rco.jpg_rows/row_0/col_1.jpg +2025-03-03 16:31:32,201 [WARNING] __main__ - Cell image not found: /tmp/tmpk3rl8rco.jpg_rows/row_1/col_0.jpg +2025-03-03 16:31:32,201 [WARNING] __main__ - Cell image not found: /tmp/tmpk3rl8rco.jpg_rows/row_1/col_1.jpg +2025-03-03 16:31:32,202 [INFO] __main__ - Processing table image: /topic-extraction/img_7.jpg, columns=three +2025-03-03 16:31:34,953 [INFO] __main__ - Extracted 3 rows from /tmp/tmp3iuybv9f.jpg +2025-03-03 16:31:34,953 [INFO] __main__ - Row 0 has 2 cells +2025-03-03 16:31:34,953 [INFO] __main__ - Row 1 has 1 cells +2025-03-03 16:31:34,953 [INFO] __main__ - Row 2 has 2 cells +2025-03-03 16:31:35,071 [WARNING] __main__ - Cell image not found: /tmp/tmp3iuybv9f.jpg_rows/row_0/col_0.jpg +2025-03-03 16:31:35,072 [WARNING] __main__ - Cell image not found: /tmp/tmp3iuybv9f.jpg_rows/row_0/col_1.jpg +2025-03-03 16:31:35,072 [WARNING] __main__ - Cell image not found: /tmp/tmp3iuybv9f.jpg_rows/row_1/col_0.jpg +2025-03-03 16:31:35,072 [WARNING] __main__ - Cell image not found: /tmp/tmp3iuybv9f.jpg_rows/row_2/col_0.jpg +2025-03-03 16:31:35,072 [WARNING] __main__ - Cell image not found: /tmp/tmp3iuybv9f.jpg_rows/row_2/col_1.jpg +2025-03-03 16:31:35,073 [INFO] __main__ - Processing table image: /topic-extraction/img_8.jpg, columns=three +2025-03-03 16:31:37,913 [INFO] __main__ - Extracted 6 rows from /tmp/tmpbg2n4l31.jpg +2025-03-03 16:31:37,914 [INFO] __main__ - Row 0 has 3 cells +2025-03-03 16:31:37,914 [INFO] __main__ - Row 1 has 3 cells +2025-03-03 16:31:37,914 [INFO] __main__ - Row 2 has 2 cells +2025-03-03 16:31:37,914 [INFO] __main__ - Row 3 has 2 cells +2025-03-03 16:31:37,914 [INFO] __main__ - Row 4 has 2 cells +2025-03-03 16:31:37,914 [INFO] __main__ - Row 5 has 2 cells +2025-03-03 16:31:38,027 [WARNING] __main__ - Cell image not found: /tmp/tmpbg2n4l31.jpg_rows/row_0/col_0.jpg +2025-03-03 16:31:38,028 [WARNING] __main__ - Cell image not found: /tmp/tmpbg2n4l31.jpg_rows/row_0/col_1.jpg +2025-03-03 16:31:38,028 [WARNING] __main__ - Cell image not found: /tmp/tmpbg2n4l31.jpg_rows/row_0/col_2.jpg +2025-03-03 16:31:38,028 [WARNING] __main__ - Cell image not found: /tmp/tmpbg2n4l31.jpg_rows/row_1/col_0.jpg +2025-03-03 16:31:38,028 [WARNING] __main__ - Cell image not found: /tmp/tmpbg2n4l31.jpg_rows/row_1/col_1.jpg +2025-03-03 16:31:38,029 [WARNING] __main__ - Cell image not found: /tmp/tmpbg2n4l31.jpg_rows/row_1/col_2.jpg +2025-03-03 16:31:38,029 [WARNING] __main__ - Cell image not found: /tmp/tmpbg2n4l31.jpg_rows/row_2/col_0.jpg +2025-03-03 16:31:38,029 [WARNING] __main__ - Cell image not found: /tmp/tmpbg2n4l31.jpg_rows/row_2/col_1.jpg +2025-03-03 16:31:38,029 [WARNING] __main__ - Cell image not found: /tmp/tmpbg2n4l31.jpg_rows/row_3/col_0.jpg +2025-03-03 16:31:38,029 [WARNING] __main__ - Cell image not found: /tmp/tmpbg2n4l31.jpg_rows/row_3/col_1.jpg +2025-03-03 16:31:38,030 [WARNING] __main__ - Cell image not found: /tmp/tmpbg2n4l31.jpg_rows/row_4/col_0.jpg +2025-03-03 16:31:38,030 [WARNING] __main__ - Cell image not found: /tmp/tmpbg2n4l31.jpg_rows/row_4/col_1.jpg +2025-03-03 16:31:38,030 [WARNING] __main__ - Cell image not found: /tmp/tmpbg2n4l31.jpg_rows/row_5/col_0.jpg +2025-03-03 16:31:38,030 [WARNING] __main__ - Cell image not found: /tmp/tmpbg2n4l31.jpg_rows/row_5/col_1.jpg +2025-03-03 16:31:38,030 [INFO] __main__ - Processing table image: /topic-extraction/img_9.jpg, columns=three +2025-03-03 16:31:41,370 [INFO] __main__ - Extracted 4 rows from /tmp/tmpuozb49tl.jpg +2025-03-03 16:31:41,370 [INFO] __main__ - Row 0 has 3 cells +2025-03-03 16:31:41,370 [INFO] __main__ - Row 1 has 2 cells +2025-03-03 16:31:41,370 [INFO] __main__ - Row 2 has 2 cells +2025-03-03 16:31:41,370 [INFO] __main__ - Row 3 has 2 cells +2025-03-03 16:31:41,490 [WARNING] __main__ - Cell image not found: /tmp/tmpuozb49tl.jpg_rows/row_0/col_0.jpg +2025-03-03 16:31:41,490 [WARNING] __main__ - Cell image not found: /tmp/tmpuozb49tl.jpg_rows/row_0/col_1.jpg +2025-03-03 16:31:41,491 [WARNING] __main__ - Cell image not found: /tmp/tmpuozb49tl.jpg_rows/row_0/col_2.jpg +2025-03-03 16:31:41,491 [WARNING] __main__ - Cell image not found: /tmp/tmpuozb49tl.jpg_rows/row_1/col_0.jpg +2025-03-03 16:31:41,491 [WARNING] __main__ - Cell image not found: /tmp/tmpuozb49tl.jpg_rows/row_1/col_1.jpg +2025-03-03 16:31:41,491 [WARNING] __main__ - Cell image not found: /tmp/tmpuozb49tl.jpg_rows/row_2/col_0.jpg +2025-03-03 16:31:41,491 [WARNING] __main__ - Cell image not found: /tmp/tmpuozb49tl.jpg_rows/row_2/col_1.jpg +2025-03-03 16:31:41,491 [WARNING] __main__ - Cell image not found: /tmp/tmpuozb49tl.jpg_rows/row_3/col_0.jpg +2025-03-03 16:31:41,491 [WARNING] __main__ - Cell image not found: /tmp/tmpuozb49tl.jpg_rows/row_3/col_1.jpg +2025-03-03 16:31:41,492 [INFO] __main__ - Processing table image: /topic-extraction/img_10.jpg, columns=three +2025-03-03 16:31:44,447 [INFO] __main__ - Extracted 4 rows from /tmp/tmplrwra3bt.jpg +2025-03-03 16:31:44,448 [INFO] __main__ - Row 0 has 2 cells +2025-03-03 16:31:44,448 [INFO] __main__ - Row 1 has 1 cells +2025-03-03 16:31:44,448 [INFO] __main__ - Row 2 has 1 cells +2025-03-03 16:31:44,448 [INFO] __main__ - Row 3 has 1 cells +2025-03-03 16:31:44,554 [WARNING] __main__ - Cell image not found: /tmp/tmplrwra3bt.jpg_rows/row_0/col_0.jpg +2025-03-03 16:31:44,555 [WARNING] __main__ - Cell image not found: /tmp/tmplrwra3bt.jpg_rows/row_0/col_1.jpg +2025-03-03 16:31:44,555 [WARNING] __main__ - Cell image not found: /tmp/tmplrwra3bt.jpg_rows/row_1/col_0.jpg +2025-03-03 16:31:44,555 [WARNING] __main__ - Cell image not found: /tmp/tmplrwra3bt.jpg_rows/row_2/col_0.jpg +2025-03-03 16:31:44,555 [WARNING] __main__ - Cell image not found: /tmp/tmplrwra3bt.jpg_rows/row_3/col_0.jpg +2025-03-03 16:31:44,555 [INFO] __main__ - Processing table image: /topic-extraction/img_11.jpg, columns=two +2025-03-03 16:31:47,726 [INFO] __main__ - GPU memory cleaned up. +2025-03-03 16:38:00,505 [INFO] __main__ - Processing PDF: /home/user/app/input_output/a-level-pearson-mathematics-specification.pdf +2025-03-03 16:38:01,273 [INFO] __main__ - Gemini returned subtopics: {'Paper 1 and Paper 2: Pure Mathematics': [11, 29], 'Paper 3: Statistics and Mechanics': [30, 40]} +2025-03-03 16:38:01,274 [INFO] __main__ - Loaded 1135473 bytes from local file '/home/user/app/input_output/a-level-pearson-mathematics-specification.pdf' +2025-03-03 16:38:01,586 [INFO] __main__ - Computed global offset: 4 +2025-03-03 16:38:01,587 [INFO] __main__ - Processing pages (0-based): [14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43] +2025-03-03 16:38:55,658 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_1.jpg +2025-03-03 16:38:57,514 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_2.jpg +2025-03-03 16:38:58,085 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_3.jpg +2025-03-03 16:38:58,674 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_4.jpg +2025-03-03 16:38:59,259 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_5.jpg +2025-03-03 16:38:59,865 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_6.jpg +2025-03-03 16:39:00,442 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_7.jpg +2025-03-03 16:39:00,917 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_8.jpg +2025-03-03 16:39:01,415 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_9.jpg +2025-03-03 16:39:01,970 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_10.jpg +2025-03-03 16:39:02,391 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_11.jpg +2025-03-03 16:39:02,884 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_12.jpg +2025-03-03 16:39:03,352 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_13.jpg +2025-03-03 16:39:03,934 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_14.jpg +2025-03-03 16:39:04,441 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_15.jpg +2025-03-03 16:39:04,988 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_16.jpg +2025-03-03 16:39:05,540 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_17.jpg +2025-03-03 16:39:05,840 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_18.jpg +2025-03-03 16:39:06,313 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_19.jpg +2025-03-03 16:39:06,928 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_20.jpg +2025-03-03 16:39:07,507 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_21.jpg +2025-03-03 16:39:08,099 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_22.jpg +2025-03-03 16:39:08,546 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_23.jpg +2025-03-03 16:39:09,044 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_24.jpg +2025-03-03 16:39:09,667 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_25.jpg +2025-03-03 16:39:10,150 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_26.jpg +2025-03-03 16:39:10,586 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_27.jpg +2025-03-03 16:39:11,171 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_28.jpg +2025-03-03 16:39:11,553 [INFO] __main__ - Classifying images to detect tables. +2025-03-03 16:39:16,188 [INFO] __main__ - Processing table image: /topic-extraction/img_1.jpg, columns=three +2025-03-03 16:39:18,827 [INFO] __main__ - Extracted 2 rows from /tmp/tmpsadbyp6s.jpg +2025-03-03 16:39:18,828 [INFO] __main__ - Row 0 has 2 cells +2025-03-03 16:39:18,828 [INFO] __main__ - Row 1 has 2 cells +2025-03-03 16:39:18,925 [INFO] __main__ - Files in /tmp/tmpsadbyp6s.jpg_rows: +2025-03-03 16:39:18,925 [INFO] __main__ - /tmp/tmpsadbyp6s.jpg_rows: [] +2025-03-03 16:39:18,926 [INFO] __main__ - /tmp/tmpsadbyp6s.jpg_rows/row_0: ['col_0.png', 'col_1.png'] +2025-03-03 16:39:18,926 [INFO] __main__ - /tmp/tmpsadbyp6s.jpg_rows/row_1: ['col_0.png', 'col_1.png'] +2025-03-03 16:39:18,926 [WARNING] __main__ - Cell image not found: /tmp/tmpsadbyp6s.jpg_rows/row_0/col_0.jpg +2025-03-03 16:39:18,926 [WARNING] __main__ - Cell image not found: /tmp/tmpsadbyp6s.jpg_rows/row_0/col_1.jpg +2025-03-03 16:39:18,926 [WARNING] __main__ - Cell image not found: /tmp/tmpsadbyp6s.jpg_rows/row_1/col_0.jpg +2025-03-03 16:39:18,926 [WARNING] __main__ - Cell image not found: /tmp/tmpsadbyp6s.jpg_rows/row_1/col_1.jpg +2025-03-03 16:39:18,927 [INFO] __main__ - Processing table image: /topic-extraction/img_2.jpg, columns=three +2025-03-03 16:39:21,658 [INFO] __main__ - Extracted 4 rows from /tmp/tmpbis7s1y9.jpg +2025-03-03 16:39:21,658 [INFO] __main__ - Row 0 has 2 cells +2025-03-03 16:39:21,658 [INFO] __main__ - Row 1 has 1 cells +2025-03-03 16:39:21,659 [INFO] __main__ - Row 2 has 1 cells +2025-03-03 16:39:21,659 [INFO] __main__ - Row 3 has 1 cells +2025-03-03 16:39:21,761 [INFO] __main__ - Files in /tmp/tmpbis7s1y9.jpg_rows: +2025-03-03 16:39:21,762 [INFO] __main__ - /tmp/tmpbis7s1y9.jpg_rows: [] +2025-03-03 16:39:21,762 [INFO] __main__ - /tmp/tmpbis7s1y9.jpg_rows/row_0: ['col_0.png', 'col_1.png'] +2025-03-03 16:39:21,763 [INFO] __main__ - /tmp/tmpbis7s1y9.jpg_rows/row_1: ['col_0.png'] +2025-03-03 16:39:21,763 [INFO] __main__ - /tmp/tmpbis7s1y9.jpg_rows/row_2: ['col_0.png'] +2025-03-03 16:39:21,763 [INFO] __main__ - /tmp/tmpbis7s1y9.jpg_rows/row_3: ['col_0.png'] +2025-03-03 16:39:21,763 [WARNING] __main__ - Cell image not found: /tmp/tmpbis7s1y9.jpg_rows/row_0/col_0.jpg +2025-03-03 16:39:21,764 [WARNING] __main__ - Cell image not found: /tmp/tmpbis7s1y9.jpg_rows/row_0/col_1.jpg +2025-03-03 16:39:21,764 [WARNING] __main__ - Cell image not found: /tmp/tmpbis7s1y9.jpg_rows/row_1/col_0.jpg +2025-03-03 16:39:21,764 [WARNING] __main__ - Cell image not found: /tmp/tmpbis7s1y9.jpg_rows/row_2/col_0.jpg +2025-03-03 16:39:21,765 [WARNING] __main__ - Cell image not found: /tmp/tmpbis7s1y9.jpg_rows/row_3/col_0.jpg +2025-03-03 16:39:21,765 [INFO] __main__ - Processing table image: /topic-extraction/img_3.jpg, columns=three +2025-03-03 16:39:24,543 [INFO] __main__ - Extracted 2 rows from /tmp/tmpv_qjs9zo.jpg +2025-03-03 16:39:24,544 [INFO] __main__ - Row 0 has 2 cells +2025-03-03 16:39:24,544 [INFO] __main__ - Row 1 has 1 cells +2025-03-03 16:39:24,656 [INFO] __main__ - Files in /tmp/tmpv_qjs9zo.jpg_rows: +2025-03-03 16:39:24,656 [INFO] __main__ - /tmp/tmpv_qjs9zo.jpg_rows: [] +2025-03-03 16:39:24,657 [INFO] __main__ - /tmp/tmpv_qjs9zo.jpg_rows/row_0: ['col_0.png', 'col_1.png'] +2025-03-03 16:39:24,657 [INFO] __main__ - /tmp/tmpv_qjs9zo.jpg_rows/row_1: ['col_0.png'] +2025-03-03 16:39:24,657 [WARNING] __main__ - Cell image not found: /tmp/tmpv_qjs9zo.jpg_rows/row_0/col_0.jpg +2025-03-03 16:39:24,657 [WARNING] __main__ - Cell image not found: /tmp/tmpv_qjs9zo.jpg_rows/row_0/col_1.jpg +2025-03-03 16:39:24,658 [WARNING] __main__ - Cell image not found: /tmp/tmpv_qjs9zo.jpg_rows/row_1/col_0.jpg +2025-03-03 16:39:24,658 [INFO] __main__ - Processing table image: /topic-extraction/img_4.jpg, columns=three +2025-03-03 16:39:27,236 [INFO] __main__ - Extracted 2 rows from /tmp/tmp4wmm7x9f.jpg +2025-03-03 16:39:27,236 [INFO] __main__ - Row 0 has 2 cells +2025-03-03 16:39:27,237 [INFO] __main__ - Row 1 has 2 cells +2025-03-03 16:39:27,342 [INFO] __main__ - Files in /tmp/tmp4wmm7x9f.jpg_rows: +2025-03-03 16:39:27,343 [INFO] __main__ - /tmp/tmp4wmm7x9f.jpg_rows: [] +2025-03-03 16:39:27,343 [INFO] __main__ - /tmp/tmp4wmm7x9f.jpg_rows/row_0: ['col_0.png', 'col_1.png'] +2025-03-03 16:39:27,343 [INFO] __main__ - /tmp/tmp4wmm7x9f.jpg_rows/row_1: ['col_0.png', 'col_1.png'] +2025-03-03 16:39:27,343 [WARNING] __main__ - Cell image not found: /tmp/tmp4wmm7x9f.jpg_rows/row_0/col_0.jpg +2025-03-03 16:39:27,344 [WARNING] __main__ - Cell image not found: /tmp/tmp4wmm7x9f.jpg_rows/row_0/col_1.jpg +2025-03-03 16:39:27,344 [WARNING] __main__ - Cell image not found: /tmp/tmp4wmm7x9f.jpg_rows/row_1/col_0.jpg +2025-03-03 16:39:27,344 [WARNING] __main__ - Cell image not found: /tmp/tmp4wmm7x9f.jpg_rows/row_1/col_1.jpg +2025-03-03 16:39:27,344 [INFO] __main__ - Processing table image: /topic-extraction/img_5.jpg, columns=three +2025-03-03 16:39:30,319 [INFO] __main__ - Extracted 3 rows from /tmp/tmpl2shhsgo.jpg +2025-03-03 16:39:30,319 [INFO] __main__ - Row 0 has 2 cells +2025-03-03 16:39:30,319 [INFO] __main__ - Row 1 has 2 cells +2025-03-03 16:39:30,319 [INFO] __main__ - Row 2 has 1 cells +2025-03-03 16:39:30,419 [INFO] __main__ - Files in /tmp/tmpl2shhsgo.jpg_rows: +2025-03-03 16:39:30,419 [INFO] __main__ - /tmp/tmpl2shhsgo.jpg_rows: [] +2025-03-03 16:39:30,420 [INFO] __main__ - /tmp/tmpl2shhsgo.jpg_rows/row_0: ['col_0.png', 'col_1.png'] +2025-03-03 16:39:30,420 [INFO] __main__ - /tmp/tmpl2shhsgo.jpg_rows/row_1: ['col_0.png', 'col_1.png'] +2025-03-03 16:39:30,420 [INFO] __main__ - /tmp/tmpl2shhsgo.jpg_rows/row_2: ['col_0.png'] +2025-03-03 16:39:30,420 [WARNING] __main__ - Cell image not found: /tmp/tmpl2shhsgo.jpg_rows/row_0/col_0.jpg +2025-03-03 16:39:30,421 [WARNING] __main__ - Cell image not found: /tmp/tmpl2shhsgo.jpg_rows/row_0/col_1.jpg +2025-03-03 16:39:30,421 [WARNING] __main__ - Cell image not found: /tmp/tmpl2shhsgo.jpg_rows/row_1/col_0.jpg +2025-03-03 16:39:30,421 [WARNING] __main__ - Cell image not found: /tmp/tmpl2shhsgo.jpg_rows/row_1/col_1.jpg +2025-03-03 16:39:30,421 [WARNING] __main__ - Cell image not found: /tmp/tmpl2shhsgo.jpg_rows/row_2/col_0.jpg +2025-03-03 16:39:30,421 [INFO] __main__ - Processing table image: /topic-extraction/img_6.jpg, columns=three +2025-03-03 16:39:33,398 [INFO] __main__ - Extracted 2 rows from /tmp/tmpqlryvzi3.jpg +2025-03-03 16:39:33,399 [INFO] __main__ - Row 0 has 2 cells +2025-03-03 16:39:33,399 [INFO] __main__ - Row 1 has 2 cells +2025-03-03 16:39:33,490 [INFO] __main__ - Files in /tmp/tmpqlryvzi3.jpg_rows: +2025-03-03 16:39:33,490 [INFO] __main__ - /tmp/tmpqlryvzi3.jpg_rows: [] +2025-03-03 16:39:33,490 [INFO] __main__ - /tmp/tmpqlryvzi3.jpg_rows/row_0: ['col_0.png', 'col_1.png'] +2025-03-03 16:39:33,491 [INFO] __main__ - /tmp/tmpqlryvzi3.jpg_rows/row_1: ['col_0.png', 'col_1.png'] +2025-03-03 16:39:33,491 [WARNING] __main__ - Cell image not found: /tmp/tmpqlryvzi3.jpg_rows/row_0/col_0.jpg +2025-03-03 16:39:33,491 [WARNING] __main__ - Cell image not found: /tmp/tmpqlryvzi3.jpg_rows/row_0/col_1.jpg +2025-03-03 16:39:33,491 [WARNING] __main__ - Cell image not found: /tmp/tmpqlryvzi3.jpg_rows/row_1/col_0.jpg +2025-03-03 16:39:33,491 [WARNING] __main__ - Cell image not found: /tmp/tmpqlryvzi3.jpg_rows/row_1/col_1.jpg +2025-03-03 16:39:33,491 [INFO] __main__ - Processing table image: /topic-extraction/img_7.jpg, columns=three +2025-03-03 16:39:36,216 [INFO] __main__ - Extracted 3 rows from /tmp/tmpvpurws23.jpg +2025-03-03 16:39:36,216 [INFO] __main__ - Row 0 has 2 cells +2025-03-03 16:39:36,216 [INFO] __main__ - Row 1 has 1 cells +2025-03-03 16:39:36,216 [INFO] __main__ - Row 2 has 2 cells +2025-03-03 16:39:36,355 [INFO] __main__ - Files in /tmp/tmpvpurws23.jpg_rows: +2025-03-03 16:39:36,355 [INFO] __main__ - /tmp/tmpvpurws23.jpg_rows: [] +2025-03-03 16:39:36,356 [INFO] __main__ - /tmp/tmpvpurws23.jpg_rows/row_0: ['col_0.png', 'col_1.png'] +2025-03-03 16:39:36,356 [INFO] __main__ - /tmp/tmpvpurws23.jpg_rows/row_1: ['col_0.png'] +2025-03-03 16:39:36,356 [INFO] __main__ - /tmp/tmpvpurws23.jpg_rows/row_2: ['col_0.png', 'col_1.png'] +2025-03-03 16:39:36,356 [WARNING] __main__ - Cell image not found: /tmp/tmpvpurws23.jpg_rows/row_0/col_0.jpg +2025-03-03 16:39:36,357 [WARNING] __main__ - Cell image not found: /tmp/tmpvpurws23.jpg_rows/row_0/col_1.jpg +2025-03-03 16:39:36,357 [WARNING] __main__ - Cell image not found: /tmp/tmpvpurws23.jpg_rows/row_1/col_0.jpg +2025-03-03 16:39:36,357 [WARNING] __main__ - Cell image not found: /tmp/tmpvpurws23.jpg_rows/row_2/col_0.jpg +2025-03-03 16:39:36,357 [WARNING] __main__ - Cell image not found: /tmp/tmpvpurws23.jpg_rows/row_2/col_1.jpg +2025-03-03 16:39:36,358 [INFO] __main__ - Processing table image: /topic-extraction/img_8.jpg, columns=three +2025-03-03 16:39:39,285 [INFO] __main__ - Extracted 6 rows from /tmp/tmp0m93om1m.jpg +2025-03-03 16:39:39,285 [INFO] __main__ - Row 0 has 3 cells +2025-03-03 16:39:39,286 [INFO] __main__ - Row 1 has 3 cells +2025-03-03 16:39:39,286 [INFO] __main__ - Row 2 has 2 cells +2025-03-03 16:39:39,286 [INFO] __main__ - Row 3 has 2 cells +2025-03-03 16:39:39,286 [INFO] __main__ - Row 4 has 2 cells +2025-03-03 16:39:39,286 [INFO] __main__ - Row 5 has 2 cells +2025-03-03 16:39:39,398 [INFO] __main__ - Files in /tmp/tmp0m93om1m.jpg_rows: +2025-03-03 16:39:39,399 [INFO] __main__ - /tmp/tmp0m93om1m.jpg_rows: [] +2025-03-03 16:39:39,399 [INFO] __main__ - /tmp/tmp0m93om1m.jpg_rows/row_0: ['col_0.png', 'col_1.png', 'col_2.png'] +2025-03-03 16:39:39,399 [INFO] __main__ - /tmp/tmp0m93om1m.jpg_rows/row_1: ['col_0.png', 'col_1.png', 'col_2.png'] +2025-03-03 16:39:39,400 [INFO] __main__ - /tmp/tmp0m93om1m.jpg_rows/row_2: ['col_0.png', 'col_1.png'] +2025-03-03 16:39:39,400 [INFO] __main__ - /tmp/tmp0m93om1m.jpg_rows/row_3: ['col_0.png', 'col_1.png'] +2025-03-03 16:39:39,400 [INFO] __main__ - /tmp/tmp0m93om1m.jpg_rows/row_4: ['col_0.png', 'col_1.png'] +2025-03-03 16:39:39,400 [INFO] __main__ - /tmp/tmp0m93om1m.jpg_rows/row_5: ['col_0.png', 'col_1.png'] +2025-03-03 16:39:39,401 [WARNING] __main__ - Cell image not found: /tmp/tmp0m93om1m.jpg_rows/row_0/col_0.jpg +2025-03-03 16:39:39,401 [WARNING] __main__ - Cell image not found: /tmp/tmp0m93om1m.jpg_rows/row_0/col_1.jpg +2025-03-03 16:39:39,401 [WARNING] __main__ - Cell image not found: /tmp/tmp0m93om1m.jpg_rows/row_0/col_2.jpg +2025-03-03 16:39:39,402 [WARNING] __main__ - Cell image not found: /tmp/tmp0m93om1m.jpg_rows/row_1/col_0.jpg +2025-03-03 16:39:39,402 [WARNING] __main__ - Cell image not found: /tmp/tmp0m93om1m.jpg_rows/row_1/col_1.jpg +2025-03-03 16:39:39,402 [WARNING] __main__ - Cell image not found: /tmp/tmp0m93om1m.jpg_rows/row_1/col_2.jpg +2025-03-03 16:39:39,402 [WARNING] __main__ - Cell image not found: /tmp/tmp0m93om1m.jpg_rows/row_2/col_0.jpg +2025-03-03 16:39:39,403 [WARNING] __main__ - Cell image not found: /tmp/tmp0m93om1m.jpg_rows/row_2/col_1.jpg +2025-03-03 16:39:39,403 [WARNING] __main__ - Cell image not found: /tmp/tmp0m93om1m.jpg_rows/row_3/col_0.jpg +2025-03-03 16:39:39,403 [WARNING] __main__ - Cell image not found: /tmp/tmp0m93om1m.jpg_rows/row_3/col_1.jpg +2025-03-03 16:39:39,403 [WARNING] __main__ - Cell image not found: /tmp/tmp0m93om1m.jpg_rows/row_4/col_0.jpg +2025-03-03 16:39:39,404 [WARNING] __main__ - Cell image not found: /tmp/tmp0m93om1m.jpg_rows/row_4/col_1.jpg +2025-03-03 16:39:39,404 [WARNING] __main__ - Cell image not found: /tmp/tmp0m93om1m.jpg_rows/row_5/col_0.jpg +2025-03-03 16:39:39,404 [WARNING] __main__ - Cell image not found: /tmp/tmp0m93om1m.jpg_rows/row_5/col_1.jpg +2025-03-03 16:39:39,405 [INFO] __main__ - Processing table image: /topic-extraction/img_9.jpg, columns=three +2025-03-03 16:39:42,590 [INFO] __main__ - Extracted 4 rows from /tmp/tmpt381bxab.jpg +2025-03-03 16:39:42,590 [INFO] __main__ - Row 0 has 3 cells +2025-03-03 16:39:42,590 [INFO] __main__ - Row 1 has 2 cells +2025-03-03 16:39:42,591 [INFO] __main__ - Row 2 has 2 cells +2025-03-03 16:39:42,591 [INFO] __main__ - Row 3 has 2 cells +2025-03-03 16:39:42,704 [INFO] __main__ - Files in /tmp/tmpt381bxab.jpg_rows: +2025-03-03 16:39:42,705 [INFO] __main__ - /tmp/tmpt381bxab.jpg_rows: [] +2025-03-03 16:39:42,705 [INFO] __main__ - /tmp/tmpt381bxab.jpg_rows/row_0: ['col_0.png', 'col_1.png', 'col_2.png'] +2025-03-03 16:39:42,705 [INFO] __main__ - /tmp/tmpt381bxab.jpg_rows/row_1: ['col_0.png', 'col_1.png'] +2025-03-03 16:39:42,705 [INFO] __main__ - /tmp/tmpt381bxab.jpg_rows/row_2: ['col_0.png', 'col_1.png'] +2025-03-03 16:39:42,706 [INFO] __main__ - /tmp/tmpt381bxab.jpg_rows/row_3: ['col_0.png', 'col_1.png'] +2025-03-03 16:39:42,706 [WARNING] __main__ - Cell image not found: /tmp/tmpt381bxab.jpg_rows/row_0/col_0.jpg +2025-03-03 16:39:42,706 [WARNING] __main__ - Cell image not found: /tmp/tmpt381bxab.jpg_rows/row_0/col_1.jpg +2025-03-03 16:39:42,706 [WARNING] __main__ - Cell image not found: /tmp/tmpt381bxab.jpg_rows/row_0/col_2.jpg +2025-03-03 16:39:42,707 [WARNING] __main__ - Cell image not found: /tmp/tmpt381bxab.jpg_rows/row_1/col_0.jpg +2025-03-03 16:39:42,707 [WARNING] __main__ - Cell image not found: /tmp/tmpt381bxab.jpg_rows/row_1/col_1.jpg +2025-03-03 16:39:42,707 [WARNING] __main__ - Cell image not found: /tmp/tmpt381bxab.jpg_rows/row_2/col_0.jpg +2025-03-03 16:39:42,707 [WARNING] __main__ - Cell image not found: /tmp/tmpt381bxab.jpg_rows/row_2/col_1.jpg +2025-03-03 16:39:42,708 [WARNING] __main__ - Cell image not found: /tmp/tmpt381bxab.jpg_rows/row_3/col_0.jpg +2025-03-03 16:39:42,708 [WARNING] __main__ - Cell image not found: /tmp/tmpt381bxab.jpg_rows/row_3/col_1.jpg +2025-03-03 16:39:42,708 [INFO] __main__ - Processing table image: /topic-extraction/img_10.jpg, columns=three +2025-03-03 16:39:45,399 [INFO] __main__ - Extracted 4 rows from /tmp/tmpti8mweyh.jpg +2025-03-03 16:39:45,400 [INFO] __main__ - Row 0 has 2 cells +2025-03-03 16:39:45,400 [INFO] __main__ - Row 1 has 1 cells +2025-03-03 16:39:45,400 [INFO] __main__ - Row 2 has 1 cells +2025-03-03 16:39:45,400 [INFO] __main__ - Row 3 has 1 cells +2025-03-03 16:39:45,500 [INFO] __main__ - Files in /tmp/tmpti8mweyh.jpg_rows: +2025-03-03 16:39:45,501 [INFO] __main__ - /tmp/tmpti8mweyh.jpg_rows: [] +2025-03-03 16:39:45,501 [INFO] __main__ - /tmp/tmpti8mweyh.jpg_rows/row_0: ['col_0.png', 'col_1.png'] +2025-03-03 16:39:45,501 [INFO] __main__ - /tmp/tmpti8mweyh.jpg_rows/row_1: ['col_0.png'] +2025-03-03 16:39:45,501 [INFO] __main__ - /tmp/tmpti8mweyh.jpg_rows/row_2: ['col_0.png'] +2025-03-03 16:39:45,502 [INFO] __main__ - /tmp/tmpti8mweyh.jpg_rows/row_3: ['col_0.png'] +2025-03-03 16:39:45,502 [WARNING] __main__ - Cell image not found: /tmp/tmpti8mweyh.jpg_rows/row_0/col_0.jpg +2025-03-03 16:39:45,502 [WARNING] __main__ - Cell image not found: /tmp/tmpti8mweyh.jpg_rows/row_0/col_1.jpg +2025-03-03 16:39:45,502 [WARNING] __main__ - Cell image not found: /tmp/tmpti8mweyh.jpg_rows/row_1/col_0.jpg +2025-03-03 16:39:45,503 [WARNING] __main__ - Cell image not found: /tmp/tmpti8mweyh.jpg_rows/row_2/col_0.jpg +2025-03-03 16:39:45,503 [WARNING] __main__ - Cell image not found: /tmp/tmpti8mweyh.jpg_rows/row_3/col_0.jpg +2025-03-03 16:39:45,503 [INFO] __main__ - Processing table image: /topic-extraction/img_11.jpg, columns=two +2025-03-03 16:39:48,245 [INFO] __main__ - Extracted 6 rows from /tmp/tmp_8j1l0bq.jpg +2025-03-03 16:39:48,245 [INFO] __main__ - Row 0 has 1 cells +2025-03-03 16:39:48,245 [INFO] __main__ - Row 1 has 1 cells +2025-03-03 16:39:48,246 [INFO] __main__ - Row 2 has 1 cells +2025-03-03 16:39:48,246 [INFO] __main__ - Row 3 has 1 cells +2025-03-03 16:39:48,246 [INFO] __main__ - Row 4 has 1 cells +2025-03-03 16:39:48,246 [INFO] __main__ - Row 5 has 1 cells +2025-03-03 16:39:48,360 [INFO] __main__ - Files in /tmp/tmp_8j1l0bq.jpg_rows: +2025-03-03 16:39:48,361 [INFO] __main__ - /tmp/tmp_8j1l0bq.jpg_rows: [] +2025-03-03 16:39:48,361 [INFO] __main__ - /tmp/tmp_8j1l0bq.jpg_rows/row_0: ['col_0.png'] +2025-03-03 16:39:48,361 [INFO] __main__ - /tmp/tmp_8j1l0bq.jpg_rows/row_1: ['col_0.png'] +2025-03-03 16:39:48,361 [INFO] __main__ - /tmp/tmp_8j1l0bq.jpg_rows/row_2: ['col_0.png'] +2025-03-03 16:39:48,362 [INFO] __main__ - /tmp/tmp_8j1l0bq.jpg_rows/row_3: ['col_0.png'] +2025-03-03 16:39:48,362 [INFO] __main__ - /tmp/tmp_8j1l0bq.jpg_rows/row_4: ['col_0.png'] +2025-03-03 16:39:48,362 [INFO] __main__ - /tmp/tmp_8j1l0bq.jpg_rows/row_5: ['col_0.png'] +2025-03-03 16:39:48,362 [WARNING] __main__ - Cell image not found: /tmp/tmp_8j1l0bq.jpg_rows/row_0/col_0.jpg +2025-03-03 16:39:48,363 [WARNING] __main__ - Cell image not found: /tmp/tmp_8j1l0bq.jpg_rows/row_1/col_0.jpg +2025-03-03 16:39:48,363 [WARNING] __main__ - Cell image not found: /tmp/tmp_8j1l0bq.jpg_rows/row_2/col_0.jpg +2025-03-03 16:39:48,363 [WARNING] __main__ - Cell image not found: /tmp/tmp_8j1l0bq.jpg_rows/row_3/col_0.jpg +2025-03-03 16:39:48,363 [WARNING] __main__ - Cell image not found: /tmp/tmp_8j1l0bq.jpg_rows/row_4/col_0.jpg +2025-03-03 16:39:48,363 [WARNING] __main__ - Cell image not found: /tmp/tmp_8j1l0bq.jpg_rows/row_5/col_0.jpg +2025-03-03 16:39:48,364 [INFO] __main__ - Processing table image: /topic-extraction/img_12.jpg, columns=three +2025-03-03 16:39:50,951 [INFO] __main__ - Extracted 3 rows from /tmp/tmp0x9tljbb.jpg +2025-03-03 16:39:50,951 [INFO] __main__ - Row 0 has 2 cells +2025-03-03 16:39:50,951 [INFO] __main__ - Row 1 has 2 cells +2025-03-03 16:39:50,952 [INFO] __main__ - Row 2 has 2 cells +2025-03-03 16:39:51,123 [INFO] __main__ - Files in /tmp/tmp0x9tljbb.jpg_rows: +2025-03-03 16:39:51,123 [INFO] __main__ - /tmp/tmp0x9tljbb.jpg_rows: [] +2025-03-03 16:39:51,124 [INFO] __main__ - /tmp/tmp0x9tljbb.jpg_rows/row_0: ['col_0.png', 'col_1.png'] +2025-03-03 16:39:51,124 [INFO] __main__ - /tmp/tmp0x9tljbb.jpg_rows/row_1: ['col_0.png', 'col_1.png'] +2025-03-03 16:39:51,124 [INFO] __main__ - /tmp/tmp0x9tljbb.jpg_rows/row_2: ['col_0.png', 'col_1.png'] +2025-03-03 16:39:51,125 [WARNING] __main__ - Cell image not found: /tmp/tmp0x9tljbb.jpg_rows/row_0/col_0.jpg +2025-03-03 16:39:51,125 [WARNING] __main__ - Cell image not found: /tmp/tmp0x9tljbb.jpg_rows/row_0/col_1.jpg +2025-03-03 16:39:51,125 [WARNING] __main__ - Cell image not found: /tmp/tmp0x9tljbb.jpg_rows/row_1/col_0.jpg +2025-03-03 16:39:51,126 [WARNING] __main__ - Cell image not found: /tmp/tmp0x9tljbb.jpg_rows/row_1/col_1.jpg +2025-03-03 16:39:51,126 [WARNING] __main__ - Cell image not found: /tmp/tmp0x9tljbb.jpg_rows/row_2/col_0.jpg +2025-03-03 16:39:51,126 [WARNING] __main__ - Cell image not found: /tmp/tmp0x9tljbb.jpg_rows/row_2/col_1.jpg +2025-03-03 16:39:51,127 [INFO] __main__ - Processing table image: /topic-extraction/img_13.jpg, columns=three +2025-03-03 16:39:53,832 [INFO] __main__ - Extracted 4 rows from /tmp/tmp0xq8v429.jpg +2025-03-03 16:39:53,832 [INFO] __main__ - Row 0 has 2 cells +2025-03-03 16:39:53,832 [INFO] __main__ - Row 1 has 2 cells +2025-03-03 16:39:53,833 [INFO] __main__ - Row 2 has 1 cells +2025-03-03 16:39:53,833 [INFO] __main__ - Row 3 has 1 cells +2025-03-03 16:39:53,932 [INFO] __main__ - Files in /tmp/tmp0xq8v429.jpg_rows: +2025-03-03 16:39:53,933 [INFO] __main__ - /tmp/tmp0xq8v429.jpg_rows: [] +2025-03-03 16:39:53,933 [INFO] __main__ - /tmp/tmp0xq8v429.jpg_rows/row_0: ['col_0.png', 'col_1.png'] +2025-03-03 16:39:53,933 [INFO] __main__ - /tmp/tmp0xq8v429.jpg_rows/row_1: ['col_0.png', 'col_1.png'] +2025-03-03 16:39:53,933 [INFO] __main__ - /tmp/tmp0xq8v429.jpg_rows/row_2: ['col_0.png'] +2025-03-03 16:39:53,934 [INFO] __main__ - /tmp/tmp0xq8v429.jpg_rows/row_3: ['col_0.png'] +2025-03-03 16:39:53,934 [WARNING] __main__ - Cell image not found: /tmp/tmp0xq8v429.jpg_rows/row_0/col_0.jpg +2025-03-03 16:39:53,934 [WARNING] __main__ - Cell image not found: /tmp/tmp0xq8v429.jpg_rows/row_0/col_1.jpg +2025-03-03 16:39:53,934 [WARNING] __main__ - Cell image not found: /tmp/tmp0xq8v429.jpg_rows/row_1/col_0.jpg +2025-03-03 16:39:53,934 [WARNING] __main__ - Cell image not found: /tmp/tmp0xq8v429.jpg_rows/row_1/col_1.jpg +2025-03-03 16:39:53,934 [WARNING] __main__ - Cell image not found: /tmp/tmp0xq8v429.jpg_rows/row_2/col_0.jpg +2025-03-03 16:39:53,935 [WARNING] __main__ - Cell image not found: /tmp/tmp0xq8v429.jpg_rows/row_3/col_0.jpg +2025-03-03 16:39:53,935 [INFO] __main__ - Processing table image: /topic-extraction/img_14.jpg, columns=three +2025-03-03 16:39:57,417 [INFO] __main__ - Extracted 6 rows from /tmp/tmp32obdcoa.jpg +2025-03-03 16:39:57,417 [INFO] __main__ - Row 0 has 2 cells +2025-03-03 16:39:57,417 [INFO] __main__ - Row 1 has 2 cells +2025-03-03 16:39:57,417 [INFO] __main__ - Row 2 has 1 cells +2025-03-03 16:39:57,417 [INFO] __main__ - Row 3 has 1 cells +2025-03-03 16:39:57,417 [INFO] __main__ - Row 4 has 2 cells +2025-03-03 16:39:57,418 [INFO] __main__ - Row 5 has 1 cells +2025-03-03 16:39:57,561 [INFO] __main__ - Files in /tmp/tmp32obdcoa.jpg_rows: +2025-03-03 16:39:57,561 [INFO] __main__ - /tmp/tmp32obdcoa.jpg_rows: [] +2025-03-03 16:39:57,561 [INFO] __main__ - /tmp/tmp32obdcoa.jpg_rows/row_0: ['col_0.png', 'col_1.png'] +2025-03-03 16:39:57,561 [INFO] __main__ - /tmp/tmp32obdcoa.jpg_rows/row_1: ['col_0.png', 'col_1.png'] +2025-03-03 16:39:57,562 [INFO] __main__ - /tmp/tmp32obdcoa.jpg_rows/row_2: ['col_0.png'] +2025-03-03 16:39:57,562 [INFO] __main__ - /tmp/tmp32obdcoa.jpg_rows/row_3: ['col_0.png'] +2025-03-03 16:39:57,562 [INFO] __main__ - /tmp/tmp32obdcoa.jpg_rows/row_4: ['col_0.png', 'col_1.png'] +2025-03-03 16:39:57,562 [INFO] __main__ - /tmp/tmp32obdcoa.jpg_rows/row_5: ['col_0.png'] +2025-03-03 16:39:57,562 [WARNING] __main__ - Cell image not found: /tmp/tmp32obdcoa.jpg_rows/row_0/col_0.jpg +2025-03-03 16:39:57,562 [WARNING] __main__ - Cell image not found: /tmp/tmp32obdcoa.jpg_rows/row_0/col_1.jpg +2025-03-03 16:39:57,562 [WARNING] __main__ - Cell image not found: /tmp/tmp32obdcoa.jpg_rows/row_1/col_0.jpg +2025-03-03 16:39:57,563 [WARNING] __main__ - Cell image not found: /tmp/tmp32obdcoa.jpg_rows/row_1/col_1.jpg +2025-03-03 16:39:57,563 [WARNING] __main__ - Cell image not found: /tmp/tmp32obdcoa.jpg_rows/row_2/col_0.jpg +2025-03-03 16:39:57,563 [WARNING] __main__ - Cell image not found: /tmp/tmp32obdcoa.jpg_rows/row_3/col_0.jpg +2025-03-03 16:39:57,563 [WARNING] __main__ - Cell image not found: /tmp/tmp32obdcoa.jpg_rows/row_4/col_0.jpg +2025-03-03 16:39:57,563 [WARNING] __main__ - Cell image not found: /tmp/tmp32obdcoa.jpg_rows/row_4/col_1.jpg +2025-03-03 16:39:57,563 [WARNING] __main__ - Cell image not found: /tmp/tmp32obdcoa.jpg_rows/row_5/col_0.jpg +2025-03-03 16:39:57,564 [INFO] __main__ - Processing table image: /topic-extraction/img_15.jpg, columns=three +2025-03-03 16:40:00,740 [INFO] __main__ - Extracted 5 rows from /tmp/tmpteq6tjo9.jpg +2025-03-03 16:40:00,741 [INFO] __main__ - Row 0 has 2 cells +2025-03-03 16:40:00,741 [INFO] __main__ - Row 1 has 2 cells +2025-03-03 16:40:00,741 [INFO] __main__ - Row 2 has 1 cells +2025-03-03 16:40:00,741 [INFO] __main__ - Row 3 has 1 cells +2025-03-03 16:40:00,741 [INFO] __main__ - Row 4 has 1 cells +2025-03-03 16:40:00,855 [INFO] __main__ - Files in /tmp/tmpteq6tjo9.jpg_rows: +2025-03-03 16:40:00,855 [INFO] __main__ - /tmp/tmpteq6tjo9.jpg_rows: [] +2025-03-03 16:40:00,855 [INFO] __main__ - /tmp/tmpteq6tjo9.jpg_rows/row_0: ['col_0.png', 'col_1.png'] +2025-03-03 16:40:00,855 [INFO] __main__ - /tmp/tmpteq6tjo9.jpg_rows/row_1: ['col_0.png', 'col_1.png'] +2025-03-03 16:40:00,856 [INFO] __main__ - /tmp/tmpteq6tjo9.jpg_rows/row_2: ['col_0.png'] +2025-03-03 16:40:00,856 [INFO] __main__ - /tmp/tmpteq6tjo9.jpg_rows/row_3: ['col_0.png'] +2025-03-03 16:40:00,856 [INFO] __main__ - /tmp/tmpteq6tjo9.jpg_rows/row_4: ['col_0.png'] +2025-03-03 16:40:00,856 [WARNING] __main__ - Cell image not found: /tmp/tmpteq6tjo9.jpg_rows/row_0/col_0.jpg +2025-03-03 16:40:00,856 [WARNING] __main__ - Cell image not found: /tmp/tmpteq6tjo9.jpg_rows/row_0/col_1.jpg +2025-03-03 16:40:00,856 [WARNING] __main__ - Cell image not found: /tmp/tmpteq6tjo9.jpg_rows/row_1/col_0.jpg +2025-03-03 16:40:00,856 [WARNING] __main__ - Cell image not found: /tmp/tmpteq6tjo9.jpg_rows/row_1/col_1.jpg +2025-03-03 16:40:00,857 [WARNING] __main__ - Cell image not found: /tmp/tmpteq6tjo9.jpg_rows/row_2/col_0.jpg +2025-03-03 16:40:00,857 [WARNING] __main__ - Cell image not found: /tmp/tmpteq6tjo9.jpg_rows/row_3/col_0.jpg +2025-03-03 16:40:00,857 [WARNING] __main__ - Cell image not found: /tmp/tmpteq6tjo9.jpg_rows/row_4/col_0.jpg +2025-03-03 16:40:00,857 [INFO] __main__ - Processing table image: /topic-extraction/img_16.jpg, columns=three +2025-03-03 16:40:03,992 [INFO] __main__ - Extracted 6 rows from /tmp/tmpcjn56rie.jpg +2025-03-03 16:40:03,993 [INFO] __main__ - Row 0 has 2 cells +2025-03-03 16:40:03,993 [INFO] __main__ - Row 1 has 2 cells +2025-03-03 16:40:03,993 [INFO] __main__ - Row 2 has 1 cells +2025-03-03 16:40:03,993 [INFO] __main__ - Row 3 has 2 cells +2025-03-03 16:40:03,994 [INFO] __main__ - Row 4 has 1 cells +2025-03-03 16:40:03,994 [INFO] __main__ - Row 5 has 1 cells +2025-03-03 16:40:04,117 [INFO] __main__ - Files in /tmp/tmpcjn56rie.jpg_rows: +2025-03-03 16:40:04,117 [INFO] __main__ - /tmp/tmpcjn56rie.jpg_rows: [] +2025-03-03 16:40:04,117 [INFO] __main__ - /tmp/tmpcjn56rie.jpg_rows/row_0: ['col_0.png', 'col_1.png'] +2025-03-03 16:40:04,118 [INFO] __main__ - /tmp/tmpcjn56rie.jpg_rows/row_1: ['col_0.png', 'col_1.png'] +2025-03-03 16:40:04,118 [INFO] __main__ - /tmp/tmpcjn56rie.jpg_rows/row_2: ['col_0.png'] +2025-03-03 16:40:04,118 [INFO] __main__ - /tmp/tmpcjn56rie.jpg_rows/row_3: ['col_0.png', 'col_1.png'] +2025-03-03 16:40:04,118 [INFO] __main__ - /tmp/tmpcjn56rie.jpg_rows/row_4: ['col_0.png'] +2025-03-03 16:40:04,119 [INFO] __main__ - /tmp/tmpcjn56rie.jpg_rows/row_5: ['col_0.png'] +2025-03-03 16:40:04,119 [WARNING] __main__ - Cell image not found: /tmp/tmpcjn56rie.jpg_rows/row_0/col_0.jpg +2025-03-03 16:40:04,119 [WARNING] __main__ - Cell image not found: /tmp/tmpcjn56rie.jpg_rows/row_0/col_1.jpg +2025-03-03 16:40:04,119 [WARNING] __main__ - Cell image not found: /tmp/tmpcjn56rie.jpg_rows/row_1/col_0.jpg +2025-03-03 16:40:04,119 [WARNING] __main__ - Cell image not found: /tmp/tmpcjn56rie.jpg_rows/row_1/col_1.jpg +2025-03-03 16:40:04,120 [WARNING] __main__ - Cell image not found: /tmp/tmpcjn56rie.jpg_rows/row_2/col_0.jpg +2025-03-03 16:40:04,120 [WARNING] __main__ - Cell image not found: /tmp/tmpcjn56rie.jpg_rows/row_3/col_0.jpg +2025-03-03 16:40:04,120 [WARNING] __main__ - Cell image not found: /tmp/tmpcjn56rie.jpg_rows/row_3/col_1.jpg +2025-03-03 16:40:04,120 [WARNING] __main__ - Cell image not found: /tmp/tmpcjn56rie.jpg_rows/row_4/col_0.jpg +2025-03-03 16:40:04,120 [WARNING] __main__ - Cell image not found: /tmp/tmpcjn56rie.jpg_rows/row_5/col_0.jpg +2025-03-03 16:40:04,121 [INFO] __main__ - Processing table image: /topic-extraction/img_17.jpg, columns=three +2025-03-03 16:40:07,145 [INFO] __main__ - Extracted 6 rows from /tmp/tmp_0pwqboj.jpg +2025-03-03 16:40:07,146 [INFO] __main__ - Row 0 has 2 cells +2025-03-03 16:40:07,146 [INFO] __main__ - Row 1 has 1 cells +2025-03-03 16:40:07,146 [INFO] __main__ - Row 2 has 2 cells +2025-03-03 16:40:07,147 [INFO] __main__ - Row 3 has 1 cells +2025-03-03 16:40:07,147 [INFO] __main__ - Row 4 has 1 cells +2025-03-03 16:40:07,147 [INFO] __main__ - Row 5 has 1 cells +2025-03-03 16:40:07,269 [INFO] __main__ - Files in /tmp/tmp_0pwqboj.jpg_rows: +2025-03-03 16:40:07,270 [INFO] __main__ - /tmp/tmp_0pwqboj.jpg_rows: [] +2025-03-03 16:40:07,270 [INFO] __main__ - /tmp/tmp_0pwqboj.jpg_rows/row_0: ['col_0.png', 'col_1.png'] +2025-03-03 16:40:07,270 [INFO] __main__ - /tmp/tmp_0pwqboj.jpg_rows/row_1: ['col_0.png'] +2025-03-03 16:40:07,270 [INFO] __main__ - /tmp/tmp_0pwqboj.jpg_rows/row_2: ['col_0.png', 'col_1.png'] +2025-03-03 16:40:07,271 [INFO] __main__ - /tmp/tmp_0pwqboj.jpg_rows/row_3: ['col_0.png'] +2025-03-03 16:40:07,271 [INFO] __main__ - /tmp/tmp_0pwqboj.jpg_rows/row_4: ['col_0.png'] +2025-03-03 16:40:07,271 [INFO] __main__ - /tmp/tmp_0pwqboj.jpg_rows/row_5: ['col_0.png'] +2025-03-03 16:40:07,271 [WARNING] __main__ - Cell image not found: /tmp/tmp_0pwqboj.jpg_rows/row_0/col_0.jpg +2025-03-03 16:40:07,272 [WARNING] __main__ - Cell image not found: /tmp/tmp_0pwqboj.jpg_rows/row_0/col_1.jpg +2025-03-03 16:40:07,272 [WARNING] __main__ - Cell image not found: /tmp/tmp_0pwqboj.jpg_rows/row_1/col_0.jpg +2025-03-03 16:40:07,272 [WARNING] __main__ - Cell image not found: /tmp/tmp_0pwqboj.jpg_rows/row_2/col_0.jpg +2025-03-03 16:40:07,272 [WARNING] __main__ - Cell image not found: /tmp/tmp_0pwqboj.jpg_rows/row_2/col_1.jpg +2025-03-03 16:40:07,272 [WARNING] __main__ - Cell image not found: /tmp/tmp_0pwqboj.jpg_rows/row_3/col_0.jpg +2025-03-03 16:40:07,273 [WARNING] __main__ - Cell image not found: /tmp/tmp_0pwqboj.jpg_rows/row_4/col_0.jpg +2025-03-03 16:40:07,273 [WARNING] __main__ - Cell image not found: /tmp/tmp_0pwqboj.jpg_rows/row_5/col_0.jpg +2025-03-03 16:40:07,273 [INFO] __main__ - Processing table image: /topic-extraction/img_18.jpg, columns=three +2025-03-03 16:40:08,066 [INFO] __main__ - Extracted 2 rows from /tmp/tmpk5z84_tz.jpg +2025-03-03 16:40:08,066 [INFO] __main__ - Row 0 has 2 cells +2025-03-03 16:40:08,066 [INFO] __main__ - Row 1 has 2 cells +2025-03-03 16:40:08,100 [INFO] __main__ - Files in /tmp/tmpk5z84_tz.jpg_rows: +2025-03-03 16:40:08,100 [INFO] __main__ - /tmp/tmpk5z84_tz.jpg_rows: [] +2025-03-03 16:40:08,100 [INFO] __main__ - /tmp/tmpk5z84_tz.jpg_rows/row_0: ['col_0.png', 'col_1.png'] +2025-03-03 16:40:08,100 [INFO] __main__ - /tmp/tmpk5z84_tz.jpg_rows/row_1: ['col_0.png', 'col_1.png'] +2025-03-03 16:40:08,100 [WARNING] __main__ - Cell image not found: /tmp/tmpk5z84_tz.jpg_rows/row_0/col_0.jpg +2025-03-03 16:40:08,100 [WARNING] __main__ - Cell image not found: /tmp/tmpk5z84_tz.jpg_rows/row_0/col_1.jpg +2025-03-03 16:40:08,101 [WARNING] __main__ - Cell image not found: /tmp/tmpk5z84_tz.jpg_rows/row_1/col_0.jpg +2025-03-03 16:40:08,101 [WARNING] __main__ - Cell image not found: /tmp/tmpk5z84_tz.jpg_rows/row_1/col_1.jpg +2025-03-03 16:40:08,101 [INFO] __main__ - Processing table image: /topic-extraction/img_19.jpg, columns=three +2025-03-03 16:40:10,563 [INFO] __main__ - GPU memory cleaned up. +2025-03-03 16:40:56,164 [INFO] __main__ - Processing PDF: /home/user/app/input_output/a-level-pearson-mathematics-specification.pdf +2025-03-03 16:40:56,929 [INFO] __main__ - Gemini returned subtopics: {'Paper 1 and Paper 2: Pure Mathematics': [11, 29], 'Paper 3: Statistics and Mechanics': [30, 40]} +2025-03-03 16:40:56,930 [INFO] __main__ - Loaded 1135473 bytes from local file '/home/user/app/input_output/a-level-pearson-mathematics-specification.pdf' +2025-03-03 16:40:57,214 [INFO] __main__ - Computed global offset: 4 +2025-03-03 16:40:57,215 [INFO] __main__ - Processing pages (0-based): [14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43] +2025-03-03 16:41:50,960 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_1.jpg +2025-03-03 16:41:52,844 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_2.jpg +2025-03-03 16:41:53,383 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_3.jpg +2025-03-03 16:41:53,923 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_4.jpg +2025-03-03 16:41:54,525 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_5.jpg +2025-03-03 16:41:55,160 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_6.jpg +2025-03-03 16:41:55,630 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_7.jpg +2025-03-03 16:41:56,152 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_8.jpg +2025-03-03 16:41:56,681 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_9.jpg +2025-03-03 16:41:57,213 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_10.jpg +2025-03-03 16:41:57,792 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_11.jpg +2025-03-03 16:41:58,296 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_12.jpg +2025-03-03 16:41:58,702 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_13.jpg +2025-03-03 16:41:59,409 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_14.jpg +2025-03-03 16:41:59,869 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_15.jpg +2025-03-03 16:42:00,474 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_16.jpg +2025-03-03 16:42:01,030 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_17.jpg +2025-03-03 16:42:01,336 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_18.jpg +2025-03-03 16:42:01,851 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_19.jpg +2025-03-03 16:42:02,414 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_20.jpg +2025-03-03 16:42:02,940 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_21.jpg +2025-03-03 16:42:03,487 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_22.jpg +2025-03-03 16:42:03,925 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_23.jpg +2025-03-03 16:42:04,459 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_24.jpg +2025-03-03 16:42:04,999 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_25.jpg +2025-03-03 16:42:05,488 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_26.jpg +2025-03-03 16:42:05,884 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_27.jpg +2025-03-03 16:42:06,475 [INFO] __main__ - Uploaded to S3: /topic-extraction/img_28.jpg +2025-03-03 16:42:06,866 [INFO] __main__ - Classifying images to detect tables. +2025-03-03 16:42:10,746 [INFO] __main__ - Processing table image: /topic-extraction/img_1.jpg, columns=three +2025-03-03 16:42:13,127 [INFO] __main__ - Extracted 2 rows from /tmp/tmp5g6lny8d.jpg +2025-03-03 16:42:13,127 [INFO] __main__ - Row 0 has 2 cells +2025-03-03 16:42:13,128 [INFO] __main__ - Row 1 has 2 cells +2025-03-03 16:42:13,228 [INFO] __main__ - Files in /tmp/tmp5g6lny8d.jpg_rows: +2025-03-03 16:42:13,229 [INFO] __main__ - /tmp/tmp5g6lny8d.jpg_rows: [] +2025-03-03 16:42:13,229 [INFO] __main__ - /tmp/tmp5g6lny8d.jpg_rows/row_0: ['col_0.png', 'col_1.png'] +2025-03-03 16:42:13,229 [INFO] __main__ - /tmp/tmp5g6lny8d.jpg_rows/row_1: ['col_0.png', 'col_1.png'] +2025-03-03 16:42:13,636 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/img_1.jpg_r0_c0.jpg +2025-03-03 16:42:14,677 [INFO] __main__ - Gemini subtopic extraction raw response: ```json +{ + "title": "Topics", + "subtopics": [] +} +``` +2025-03-03 16:42:14,678 [ERROR] __main__ - Gemini subtopic identification error on attempt 0: Expecting value: line 1 column 1 (char 0) +2025-03-03 16:42:15,889 [INFO] __main__ - Gemini subtopic extraction raw response: ```json +{ + "title": "Topics", + "subtopics": [] +} +``` +2025-03-03 16:42:15,890 [ERROR] __main__ - Gemini subtopic identification error on attempt 1: Expecting value: line 1 column 1 (char 0) +2025-03-03 16:42:15,890 [INFO] __main__ - Gemini subtopic extraction result for cell /tmp/tmp5g6lny8d.jpg_rows/row_0/col_0.png: {'title': '', 'subtopics': []} +2025-03-03 16:42:16,159 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/img_1.jpg_r0_c1.jpg +2025-03-03 16:42:17,348 [INFO] __main__ - Gemini subtopic extraction raw response: ```json +{ + "title": "", + "subtopics": [] +} +``` +2025-03-03 16:42:17,349 [ERROR] __main__ - Gemini subtopic identification error on attempt 0: Expecting value: line 1 column 1 (char 0) +2025-03-03 16:42:18,700 [INFO] __main__ - Gemini subtopic extraction raw response: ```json +{ + "title": "", + "subtopics": [] +} +``` +2025-03-03 16:42:18,704 [ERROR] __main__ - Gemini subtopic identification error on attempt 1: Expecting value: line 1 column 1 (char 0) +2025-03-03 16:42:18,704 [INFO] __main__ - Gemini subtopic extraction result for cell /tmp/tmp5g6lny8d.jpg_rows/row_0/col_1.png: {'title': '', 'subtopics': []} +2025-03-03 16:42:18,961 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/img_1.jpg_r1_c0.jpg +2025-03-03 16:42:20,132 [INFO] __main__ - Gemini subtopic extraction raw response: ```json +{ + "title": "1 Proof", + "subtopics": [] +} +``` +2025-03-03 16:42:20,132 [ERROR] __main__ - Gemini subtopic identification error on attempt 0: Expecting value: line 1 column 1 (char 0) +2025-03-03 16:42:21,478 [INFO] __main__ - Gemini subtopic extraction raw response: ```json +{ + "title": "1 Proof", + "subtopics": [] +} +``` +2025-03-03 16:42:21,478 [ERROR] __main__ - Gemini subtopic identification error on attempt 1: Expecting value: line 1 column 1 (char 0) +2025-03-03 16:42:21,478 [INFO] __main__ - Gemini subtopic extraction result for cell /tmp/tmp5g6lny8d.jpg_rows/row_1/col_0.png: {'title': '', 'subtopics': []} +2025-03-03 16:42:22,094 [INFO] __main__ - Uploaded to S3: /topic-extraction/cells/img_1.jpg_r1_c1.jpg +2025-03-03 16:42:23,562 [INFO] __main__ - Gemini subtopic extraction raw response: ```json +{ + "title": "", + "subtopics": ["1.1"] +} +``` +2025-03-03 16:42:23,563 [ERROR] __main__ - Gemini subtopic identification error on attempt 0: Expecting value: line 1 column 1 (char 0) +2025-03-03 16:42:25,127 [INFO] __main__ - Gemini subtopic extraction raw response: ```json +{ + "title": "", + "subtopics": ["1.1"] +} +``` +2025-03-03 16:42:25,127 [ERROR] __main__ - Gemini subtopic identification error on attempt 1: Expecting value: line 1 column 1 (char 0) +2025-03-03 16:42:25,127 [INFO] __main__ - Gemini subtopic extraction result for cell /tmp/tmp5g6lny8d.jpg_rows/row_1/col_1.png: {'title': '', 'subtopics': []} +2025-03-03 16:42:25,128 [INFO] __main__ - Processing table image: /topic-extraction/img_2.jpg, columns=three +2025-03-03 16:42:27,781 [INFO] __main__ - Extracted 4 rows from /tmp/tmp1l6kamqx.jpg +2025-03-03 16:42:27,781 [INFO] __main__ - Row 0 has 2 cells +2025-03-03 16:42:27,781 [INFO] __main__ - Row 1 has 1 cells +2025-03-03 16:42:27,781 [INFO] __main__ - Row 2 has 1 cells +2025-03-03 16:42:27,781 [INFO] __main__ - Row 3 has 1 cells +2025-03-03 16:42:27,883 [INFO] __main__ - Files in /tmp/tmp1l6kamqx.jpg_rows: +2025-03-03 16:42:27,883 [INFO] __main__ - /tmp/tmp1l6kamqx.jpg_rows: [] +2025-03-03 16:42:27,883 [INFO] __main__ - /tmp/tmp1l6kamqx.jpg_rows/row_0: ['col_0.png', 'col_1.png'] +2025-03-03 16:42:27,883 [INFO] __main__ - /tmp/tmp1l6kamqx.jpg_rows/row_1: ['col_0.png'] +2025-03-03 16:42:27,884 [INFO] __main__ - /tmp/tmp1l6kamqx.jpg_rows/row_2: ['col_0.png'] +2025-03-03 16:42:27,884 [INFO] __main__ - /tmp/tmp1l6kamqx.jpg_rows/row_3: ['col_0.png'] +2025-03-03 16:42:28,438 [INFO] __main__ - GPU memory cleaned up.