Skip to content

Commit

Permalink
Remove the need to download the weights as ultralytics/ultralytics#7432
Browse files Browse the repository at this point in the history
… has been merged
  • Loading branch information
haixuanTao committed Apr 3, 2024
1 parent c641d97 commit ad9bec3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
11 changes: 0 additions & 11 deletions examples/python-operator-dataflow/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
7 changes: 0 additions & 7 deletions examples/python-operator-dataflow/run.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -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?;

Expand Down

0 comments on commit ad9bec3

Please sign in to comment.