{"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":"nvidiaTeslaT4","dataSources":[{"sourceType":"competition","sourceId":117682,"databundleVersionId":15062069},{"sourceType":"datasetVersion","sourceId":14066012,"datasetId":8953198,"databundleVersionId":14846463},{"sourceType":"datasetVersion","sourceId":15058933,"datasetId":9640880,"databundleVersionId":15939883}],"dockerImageVersionId":31193,"isInternetEnabled":false,"language":"python","sourceType":"notebook","isGpuEnabled":true}},"nbformat_minor":4,"nbformat":4,"cells":[{"cell_type":"code","source":"import shutil\nfrom pathlib import Path\n\n# Copy repo/code into /kaggle/working\nshutil.copytree(\n    \"/kaggle/input/datasets/tonylica/vesuvius-inference-package\",\n    \"/kaggle/working\",\n    dirs_exist_ok=True\n)","metadata":{"trusted":true,"execution":{"iopub.status.busy":"2026-02-06T09:43:03.396778Z","iopub.execute_input":"2026-02-06T09:43:03.397245Z","iopub.status.idle":"2026-02-06T09:46:53.371535Z","shell.execute_reply.started":"2026-02-06T09:43:03.397221Z","shell.execute_reply":"2026-02-06T09:46:53.370806Z"}},"outputs":[],"execution_count":null},{"cell_type":"code","source":"!pip install -q --no-index --no-cache-dir -f /kaggle/input/surface-packages-offline nnunetv2","metadata":{"trusted":true},"outputs":[],"execution_count":null},{"cell_type":"code","source":"!python /kaggle/working/inference/run_inference.py \\\n  --vesuvius_dir /kaggle/input/vesuvius-challenge-surface-detection \\\n  --out_dir /kaggle/working","metadata":{"trusted":true},"outputs":[],"execution_count":null}]}