{"metadata":{"kernelspec":{"language":"python","display_name":"Python 3","name":"python3"},"language_info":{"name":"python","version":"3.12.12","mimetype":"text/x-python","codemirror_mode":{"name":"ipython","version":3},"pygments_lexer":"ipython3","nbconvert_exporter":"python","file_extension":".py"},"kaggle":{"accelerator":"nvidiaTeslaT4","dataSources":[],"dockerImageVersionId":31287,"isInternetEnabled":true,"language":"python","sourceType":"notebook","isGpuEnabled":true}},"nbformat_minor":4,"nbformat":4,"cells":[{"cell_type":"code","source":"!git clone https://github.com/hssling/diagnostic-copilot-model.git %cd diagnostic-copilot-model !pip install -r requirements.txt","metadata":{"_uuid":"8f2839f25d086af736a60e9eeb907d3b93b6e0e5","_cell_guid":"b1076dfc-b9ad-4769-8c92-a6c4dae69d19","trusted":true},"outputs":[],"execution_count":null},{"cell_type":"code","source":"# 1. Force a fresh clone (delete old if exists)\nimport os\nimport shutil\nif os.path.exists('/kaggle/working/diagnostic-copilot-model'):\n shutil.rmtree('/kaggle/working/diagnostic-copilot-model')\n\n!git clone https://github.com/hssling/diagnostic-copilot-model.git\n\n# 2. Install missing requirements\n!pip install -r /kaggle/working/diagnostic-copilot-model/requirements.txt\n\n# 3. Enter directory and run the fully automated training script!\nos.chdir('/kaggle/working/diagnostic-copilot-model')\n!python train_multimodal.py\n","metadata":{"trusted":true},"outputs":[],"execution_count":null},{"cell_type":"code","source":"import os\nimport shutil\n\n# 1. ALWAYS start at the absolute global root of the container\nos.chdir('/kaggle/working')\n\n# 2. Clean out old attempts safely\nif os.path.exists('diagnostic-copilot-model'):\n shutil.rmtree('diagnostic-copilot-model')\n\n# 3. Clone fresh repository\n!git clone https://github.com/hssling/diagnostic-copilot-model.git\n\n# 4. Install requirements from the newly downloaded folder\n!pip install -r /kaggle/working/diagnostic-copilot-model/requirements.txt\n\n# 5. Enter directory and run the fully automated training script!\nos.chdir('/kaggle/working/diagnostic-copilot-model')\n!python train_multimodal.py\n","metadata":{"trusted":true,"execution":{"iopub.status.busy":"2026-02-23T15:46:29.540754Z","iopub.execute_input":"2026-02-23T15:46:29.541126Z","iopub.status.idle":"2026-02-23T16:06:22.037391Z","shell.execute_reply.started":"2026-02-23T15:46:29.541094Z","shell.execute_reply":"2026-02-23T16:06:22.036618Z"}},"outputs":[],"execution_count":null}]}