Sketch the yolo wasm example. (#546)

* Sketch the yolo wasm example.

* Web ui.

* Get the web ui to work.

* UI tweaks.

* More UI tweaks.

* Use the natural width/height.

* Add a link to the hf space in the readme.
This commit is contained in:
Laurent Mazare
2023-08-22 11:56:43 +01:00
committed by GitHub
parent 44420d8ae1
commit 20ce3e9f39
13 changed files with 1260 additions and 5 deletions

View File

@ -1,5 +1,3 @@
#![allow(dead_code)]
#[cfg(feature = "mkl")]
extern crate intel_mkl_src;
@ -156,7 +154,6 @@ struct C2f {
cv1: ConvBlock,
cv2: ConvBlock,
bottleneck: Vec<Bottleneck>,
c: usize,
}
impl C2f {
@ -173,7 +170,6 @@ impl C2f {
cv1,
cv2,
bottleneck,
c,
})
}
}