{"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":30804,"isInternetEnabled":true,"language":"python","sourceType":"notebook","isGpuEnabled":false}},"nbformat_minor":4,"nbformat":4,"cells":[{"cell_type":"code","source":"!pip download -d ./packages ultralytics\n!tar cfvz archive.tar.gz ./packages","metadata":{"_uuid":"8f2839f25d086af736a60e9eeb907d3b93b6e0e5","_cell_guid":"b1076dfc-b9ad-4769-8c92-a6c4dae69d19","trusted":true,"execution":{"iopub.status.busy":"2025-05-11T18:10:34.341433Z","iopub.execute_input":"2025-05-11T18:10:34.341782Z","iopub.status.idle":"2025-05-11T18:14:24.106216Z","shell.execute_reply.started":"2025-05-11T18:10:34.341750Z","shell.execute_reply":"2025-05-11T18:14:24.104546Z"}},"outputs":[],"execution_count":null},{"cell_type":"code","source":"!tar xfvz archive.tar.gz\n!pip install --no-index --find-links=./packages ultralytics\n!rm -rf ./packages ","metadata":{"trusted":true,"execution":{"iopub.status.busy":"2025-05-11T18:15:29.150092Z","iopub.execute_input":"2025-05-11T18:15:29.150583Z"}},"outputs":[],"execution_count":null},{"cell_type":"code","source":"from ultralytics import YOLO","metadata":{"trusted":true,"execution":{"iopub.status.busy":"2025-05-11T18:16:50.031641Z","iopub.execute_input":"2025-05-11T18:16:50.032053Z","iopub.status.idle":"2025-05-11T18:16:53.283244Z","shell.execute_reply.started":"2025-05-11T18:16:50.032016Z","shell.execute_reply":"2025-05-11T18:16:53.282058Z"}},"outputs":[],"execution_count":null}]}