From 5475da445e0c4449b2e0c7455d4448c631c961d7 Mon Sep 17 00:00:00 2001 From: James Gallagher Date: Wed, 31 Jan 2024 09:11:25 +0000 Subject: [PATCH] use new milk file --- notebooks/dino-gpt4v-autodistill.ipynb | 2 +- .../how-to-auto-train-yolov8-model-with-autodistill.ipynb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/notebooks/dino-gpt4v-autodistill.ipynb b/notebooks/dino-gpt4v-autodistill.ipynb index 3c6c415..dccbec9 100644 --- a/notebooks/dino-gpt4v-autodistill.ipynb +++ b/notebooks/dino-gpt4v-autodistill.ipynb @@ -288,7 +288,7 @@ "%cd {HOME}/videos\n", "\n", "# download zip file containing videos\n", - "!wget --load-cookies /tmp/cookies.txt \"https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id=1wnW7v6UTJZTAcOQj0416ZbQF8b7yO6Pt' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\\1\\n/p')&id=1wnW7v6UTJZTAcOQj0416ZbQF8b7yO6Pt\" -O milk.zip && rm -rf /tmp/cookies.txt\n", + "!wget https://media.roboflow.com/milk.zip\n", "\n", "# unzip videos\n", "!unzip milk.zip" diff --git a/notebooks/how-to-auto-train-yolov8-model-with-autodistill.ipynb b/notebooks/how-to-auto-train-yolov8-model-with-autodistill.ipynb index ae8fdc8..e08e421 100644 --- a/notebooks/how-to-auto-train-yolov8-model-with-autodistill.ipynb +++ b/notebooks/how-to-auto-train-yolov8-model-with-autodistill.ipynb @@ -298,7 +298,7 @@ "%cd {HOME}/videos\n", "\n", "# download zip file containing videos\n", - "!wget --load-cookies /tmp/cookies.txt \"https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id=1wnW7v6UTJZTAcOQj0416ZbQF8b7yO6Pt' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\\1\\n/p')&id=1wnW7v6UTJZTAcOQj0416ZbQF8b7yO6Pt\" -O milk.zip && rm -rf /tmp/cookies.txt\n", + "!wget https://media.roboflow.com/milk.zip\n", "\n", "# unzip videos\n", "!unzip milk.zip" @@ -1333,4 +1333,4 @@ }, "nbformat": 4, "nbformat_minor": 0 -} \ No newline at end of file +}