{"metadata":{"kernelspec":{"language":"python","display_name":"Python 3","name":"python3"},"language_info":{"name":"python","version":"3.10.14","mimetype":"text/x-python","codemirror_mode":{"name":"ipython","version":3},"pygments_lexer":"ipython3","nbconvert_exporter":"python","file_extension":".py"},"kaggle":{"accelerator":"none","dataSources":[{"sourceId":84969,"databundleVersionId":10033515,"sourceType":"competition"}],"dockerImageVersionId":30787,"isInternetEnabled":true,"language":"python","sourceType":"notebook","isGpuEnabled":false}},"nbformat_minor":4,"nbformat":4,"cells":[{"cell_type":"markdown","source":"This just downloads the dependencies needed for my other notebook so it can be used without internet. ","metadata":{}},{"cell_type":"code","source":"packages = [\n    'monai',\n    'connected-components-3d',\n    'lightning',\n    'copick',\n    'asciitree'\n]\n\nwith open('requirements.txt', 'w') as f:\n    f.write('\\n'.join(packages))","metadata":{"execution":{"iopub.status.busy":"2024-11-10T13:38:00.080489Z","iopub.execute_input":"2024-11-10T13:38:00.080902Z","iopub.status.idle":"2024-11-10T13:38:00.110279Z","shell.execute_reply.started":"2024-11-10T13:38:00.080863Z","shell.execute_reply":"2024-11-10T13:38:00.108978Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"!cat requirements.txt","metadata":{"execution":{"iopub.status.busy":"2024-11-10T13:38:00.112046Z","iopub.execute_input":"2024-11-10T13:38:00.112495Z","iopub.status.idle":"2024-11-10T13:38:01.189175Z","shell.execute_reply.started":"2024-11-10T13:38:00.112455Z","shell.execute_reply":"2024-11-10T13:38:01.187772Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"! pip download -r requirements.txt","metadata":{"execution":{"iopub.status.busy":"2024-11-10T13:38:01.191146Z","iopub.execute_input":"2024-11-10T13:38:01.191685Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"!ls -lh","metadata":{"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"","metadata":{},"execution_count":null,"outputs":[]}]}