From 34ff47232587b0f9f74a7d51bb18053632d207d2 Mon Sep 17 00:00:00 2001 From: haixuanTao Date: Wed, 3 Apr 2024 11:59:23 +0200 Subject: [PATCH] Remove the need to download the weights as https://github.com/ultralytics/ultralytics/pull/7432 has been merged --- examples/python-operator-dataflow/run.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/examples/python-operator-dataflow/run.rs b/examples/python-operator-dataflow/run.rs index c10dfc9a5..dfc2e8345 100644 --- a/examples/python-operator-dataflow/run.rs +++ b/examples/python-operator-dataflow/run.rs @@ -1,5 +1,4 @@ use dora_core::{get_pip_path, get_python_path, run}; -use dora_download::download_file; use dora_tracing::set_up_tracing; use eyre::{bail, ContextCompat, WrapErr}; use std::path::Path; @@ -74,12 +73,6 @@ async fn main() -> eyre::Result<()> { .await .context("maturin develop failed")?; - download_file( - "https://github.com/ultralytics/assets/releases/download/v0.0.0/yolov8n.pt", - Path::new("yolov8n.pt"), - ) - .await - .context("Could not download weights.")?; let dataflow = Path::new("dataflow.yml"); run_dataflow(dataflow).await?;