summaryrefslogtreecommitdiff
path: root/candle-examples/examples/yolo-v3/darknet.rs
diff options
context:
space:
mode:
Diffstat (limited to 'candle-examples/examples/yolo-v3/darknet.rs')
-rw-r--r--candle-examples/examples/yolo-v3/darknet.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/candle-examples/examples/yolo-v3/darknet.rs b/candle-examples/examples/yolo-v3/darknet.rs
index 0c81bca8..6702618e 100644
--- a/candle-examples/examples/yolo-v3/darknet.rs
+++ b/candle-examples/examples/yolo-v3/darknet.rs
@@ -108,7 +108,7 @@ pub fn parse_config<T: AsRef<Path>>(path: T) -> Result<Darknet> {
}
enum Bl {
- Layer(Box<dyn candle_nn::Module + Send>),
+ Layer(Box<dyn candle_nn::Module + Send + Sync>),
Route(Vec<usize>),
Shortcut(usize),
Yolo(usize, Vec<(usize, usize)>),