{"metadata":{"kernelspec":{"language":"python","display_name":"Python 3","name":"python3"},"language_info":{"name":"python","version":"3.11.13","mimetype":"text/x-python","codemirror_mode":{"name":"ipython","version":3},"pygments_lexer":"ipython3","nbconvert_exporter":"python","file_extension":".py"},"kaggle":{"accelerator":"none","dataSources":[{"sourceType":"competition","sourceId":24800,"datasetId":1042002,"databundleVersionId":1831594},{"sourceType":"datasetVersion","sourceId":14005003,"datasetId":8923360,"databundleVersionId":14781341}],"dockerImageVersionId":31192,"isInternetEnabled":true,"language":"python","sourceType":"notebook","isGpuEnabled":false}},"nbformat_minor":4,"nbformat":4,"cells":[{"cell_type":"code","source":"!git clone https://github.com/Tuprott991/SoftAI---DataForLife---MedSightAI","metadata":{"_uuid":"8f2839f25d086af736a60e9eeb907d3b93b6e0e5","_cell_guid":"b1076dfc-b9ad-4769-8c92-a6c4dae69d19","trusted":true,"execution":{"iopub.status.busy":"2025-12-09T09:33:52.996253Z","iopub.execute_input":"2025-12-09T09:33:52.997245Z","iopub.status.idle":"2025-12-09T09:33:55.565163Z","shell.execute_reply.started":"2025-12-09T09:33:52.997198Z","shell.execute_reply":"2025-12-09T09:33:55.56423Z"}},"outputs":[],"execution_count":null},{"cell_type":"code","source":"cd SoftAI---DataForLife---MedSightAI/MedSight3","metadata":{"trusted":true,"execution":{"iopub.status.busy":"2025-12-09T09:33:55.566849Z","iopub.execute_input":"2025-12-09T09:33:55.567183Z","iopub.status.idle":"2025-12-09T09:33:55.573174Z","shell.execute_reply.started":"2025-12-09T09:33:55.567141Z","shell.execute_reply":"2025-12-09T09:33:55.572367Z"}},"outputs":[],"execution_count":null},{"cell_type":"code","source":"!git pull","metadata":{"trusted":true,"execution":{"iopub.status.busy":"2025-12-09T09:33:59.196684Z","iopub.execute_input":"2025-12-09T09:33:59.19703Z","iopub.status.idle":"2025-12-09T09:33:59.551021Z","shell.execute_reply.started":"2025-12-09T09:33:59.196975Z","shell.execute_reply":"2025-12-09T09:33:59.549771Z"}},"outputs":[],"execution_count":null},{"cell_type":"code","source":"!python preprocess_dicom.py --input_dir \"/kaggle/input/vinbigdata-chest-xray-abnormalities-detection/test\" --output_dir \"/kaggle/working/test\" --csv_file \"/kaggle/input/vindr-cxr-physionet/image_labels_test.csv\" --size 224 --num_workers 4","metadata":{"trusted":true,"execution":{"iopub.status.busy":"2025-12-09T09:35:19.921435Z","iopub.execute_input":"2025-12-09T09:35:19.921757Z","iopub.status.idle":"2025-12-09T09:36:15.2007Z","shell.execute_reply.started":"2025-12-09T09:35:19.921727Z","shell.execute_reply":"2025-12-09T09:36:15.199822Z"}},"outputs":[],"execution_count":null},{"cell_type":"code","source":"# import pydicom\n\n# ds = pydicom.dcmread(\"/kaggle/input/vinbigdata-chest-xray-abnormalities-detection/train/000434271f63a053c4128a0ba6352c7f.dicom\")\n# print(\"Rows:\", ds.Rows)\n# print(\"Columns:\", ds.Columns)\n# print(\"Bits Stored:\", ds.BitsStored)\n# print(\"PhotometricInterpretation:\", ds.PhotometricInterpretation)","metadata":{"trusted":true,"execution":{"iopub.status.busy":"2025-12-09T09:46:28.679062Z","iopub.execute_input":"2025-12-09T09:46:28.679386Z","iopub.status.idle":"2025-12-09T09:46:28.879387Z","shell.execute_reply.started":"2025-12-09T09:46:28.679353Z","shell.execute_reply":"2025-12-09T09:46:28.878526Z"}},"outputs":[],"execution_count":null},{"cell_type":"code","source":"","metadata":{"trusted":true},"outputs":[],"execution_count":null}]}