From ad9bec342ff314fe2ccd3d51cce405ed550032f7 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/requirements.txt | 11 ----------- examples/python-operator-dataflow/run.rs | 7 ------- 2 files changed, 18 deletions(-) diff --git a/examples/python-operator-dataflow/requirements.txt b/examples/python-operator-dataflow/requirements.txt index ec7e481a7..68020faa6 100644 --- a/examples/python-operator-dataflow/requirements.txt +++ b/examples/python-operator-dataflow/requirements.txt @@ -45,14 +45,3 @@ seaborn>=0.11.0 opencv-python>=4.1.1 maturin - -openai-whisper -sounddevice -pynput -sentence-transformers -transformers -pylcs -accelerate -optimum -auto-gptq>=0.7.1 -dora-rs==0.3.2 \ No newline at end of file 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?;