Skip to content

Commit 0db0f1d

Browse files
committed
Fix resource paths in DnnDetector's example&test
1 parent 1005c75 commit 0db0f1d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/cpp/exampleDnnDetector/exampleDnnDetector.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ int main(int argc, char * argv[])
2121
{
2222
yarp::os::Property detectorOptions {
2323
{"device", yarp::os::Value("DnnDetector")},
24-
{"trainedModel", yarp::os::Value("yolov3-tiny.weights")},
25-
{"configDNNModel", yarp::os::Value("yolov3-tiny.cfg")},
24+
{"trainedModel", yarp::os::Value("yolov3-tiny/yolov3-tiny.weights")},
25+
{"configDNNModel", yarp::os::Value("yolov3-tiny/yolov3-tiny.cfg")},
2626
{"classesTrainedModel", yarp::os::Value("coco-object-categories.txt")}
2727
};
2828

tests/testDnnDetector.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ class DnnDetectorTest : public testing::Test
2525
{
2626
yarp::os::Property deviceOptions {
2727
{"device", yarp::os::Value("DnnDetector")},
28-
{"trainedModel", yarp::os::Value("yolov3-tiny.weights")},
29-
{"configDNNModel", yarp::os::Value("yolov3-tiny.cfg")},
28+
{"trainedModel", yarp::os::Value("yolov3-tiny/yolov3-tiny.weights")},
29+
{"configDNNModel", yarp::os::Value("yolov3-tiny/yolov3-tiny.cfg")},
3030
{"classesTrainedModel", yarp::os::Value("coco-object-categories.txt")}
3131
};
3232

0 commit comments

Comments
 (0)