{"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":"2024-12-04T01:01:01.280535Z","iopub.execute_input":"2024-12-04T01:01:01.280892Z","iopub.status.idle":"2024-12-04T01:04:40.700078Z","shell.execute_reply.started":"2024-12-04T01:01:01.280860Z","shell.execute_reply":"2024-12-04T01:04:40.698644Z"}},"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":"2024-12-04T01:04:40.702463Z","iopub.execute_input":"2024-12-04T01:04:40.702826Z","iopub.status.idle":"2024-12-04T01:05:22.402015Z","shell.execute_reply.started":"2024-12-04T01:04:40.702789Z","shell.execute_reply":"2024-12-04T01:05:22.400712Z"}},"outputs":[],"execution_count":null},{"cell_type":"code","source":"from ultralytics import YOLO","metadata":{"trusted":true,"execution":{"iopub.status.busy":"2024-12-04T01:05:22.403572Z","iopub.execute_input":"2024-12-04T01:05:22.403901Z","iopub.status.idle":"2024-12-04T01:05:26.429803Z","shell.execute_reply.started":"2024-12-04T01:05:22.403868Z","shell.execute_reply":"2024-12-04T01:05:26.428669Z"}},"outputs":[],"execution_count":null}]}