Browse Source

Remove the need to download the weights as https://github.com/ultralytics/ultralytics/pull/7432 has been merged

tags/v0.3.3-rc1^2
haixuanTao 1 year ago
parent
commit
ad9bec342f
2 changed files with 0 additions and 18 deletions
  1. +0
    -11
      examples/python-operator-dataflow/requirements.txt
  2. +0
    -7
      examples/python-operator-dataflow/run.rs

+ 0
- 11
examples/python-operator-dataflow/requirements.txt View File

@@ -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

+ 0
- 7
examples/python-operator-dataflow/run.rs View File

@@ -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?;



Loading…
Cancel
Save