diff options
author | Laurent Mazare <laurent.mazare@gmail.com> | 2023-08-22 11:56:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-22 11:56:43 +0100 |
commit | 20ce3e9f394cbf809c7026233a7c058c4de18261 (patch) | |
tree | d4350c408a75bece0b4f33dc4e197e6db81e13a2 /candle-examples/examples/yolo-v8/main.rs | |
parent | 44420d8ae109d9ebfe2066a5a87db08c73389724 (diff) | |
download | candle-20ce3e9f394cbf809c7026233a7c058c4de18261.tar.gz candle-20ce3e9f394cbf809c7026233a7c058c4de18261.tar.bz2 candle-20ce3e9f394cbf809c7026233a7c058c4de18261.zip |
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.
Diffstat (limited to 'candle-examples/examples/yolo-v8/main.rs')
-rw-r--r-- | candle-examples/examples/yolo-v8/main.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/candle-examples/examples/yolo-v8/main.rs b/candle-examples/examples/yolo-v8/main.rs index 45ff3d2d..5db642e0 100644 --- a/candle-examples/examples/yolo-v8/main.rs +++ b/candle-examples/examples/yolo-v8/main.rs @@ -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, }) } } |