From 5a8ee3e0509ac55cba375247765c2cead9b23677 Mon Sep 17 00:00:00 2001 From: Anthony Tarbinian Date: Tue, 2 Apr 2024 22:46:20 +0000 Subject: [PATCH] comments about pulling matching/segmentation models --- tests/integration/cv_matching.cpp | 4 ++-- tests/integration/cv_segmentation.cpp | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/integration/cv_matching.cpp b/tests/integration/cv_matching.cpp index dd9e6ff1..d4bd2b73 100644 --- a/tests/integration/cv_matching.cpp +++ b/tests/integration/cv_matching.cpp @@ -8,7 +8,7 @@ #include "cv/matching.hpp" #include "utilities/constants.hpp" -// Download these test images from test.zip here https://drive.google.com/drive/u/1/folders/1opXBWx6bBF7J3-JSFtrhfFIkYis9qhGR +// Download these test images by running "make pull_matching_test_images" or from the test.zip here https://drive.google.com/drive/u/1/folders/1opXBWx6bBF7J3-JSFtrhfFIkYis9qhGR // Or, any cropped not-stolen images will work // NOTE: images are given reverse order bottleIndexes, e.g. refImagePath0 -> index 4, etc. const std::string imageTestDir = "../tests/integration/images/matching_cropped/test/"; @@ -18,7 +18,7 @@ const std::string refImagePath2 = imageTestDir + "000000003.jpg"; // bottle 2 const std::string refImagePath3 = imageTestDir + "000000004.jpg"; // bottle 1 const std::string refImagePath4 = imageTestDir + "000000005.jpg"; // bottle 0 -// model can be downloaded from here: https://drive.google.com/drive/folders/1ciDfycNyJiLvRhJhwQZoeKH7vgV6dGHJ?usp=drive_link +// model can be downloaded by running "make pull_matching" or from here: https://drive.google.com/drive/folders/1ciDfycNyJiLvRhJhwQZoeKH7vgV6dGHJ?usp=drive_link const std::string modelPath = "../models/target_siamese_1.pt"; // These images can also come from the same source as the reference images. To accurately diff --git a/tests/integration/cv_segmentation.cpp b/tests/integration/cv_segmentation.cpp index 89c8ed41..9bad7e01 100644 --- a/tests/integration/cv_segmentation.cpp +++ b/tests/integration/cv_segmentation.cpp @@ -16,6 +16,7 @@ const std::vector targetPaths = { }; // model weights path +// Can pull model weights by running "make pull_segmentation" const std::string modelPath = "../models/fcn.pth"; int main(int argc, char* argv[]) {