mirror of
https://github.com/SikongJueluo/Mini-Nav.git
synced 2026-07-12 20:15:31 +08:00
feat(retrieval-benchmark): add support for external pre-prepared CAM retrieval datasets with recall@k metric
- Add just recipes for preparing CIFAR10/100 hash artifacts and running benchmarks - Add CAM_RETRIEVAL_DATASET env var support in Makefile - Add load_retrieval_dataset_npz() to load pre-prepared retrieval datasets - Add label_hits counter and recall@k metric for retrieval evaluation - Rename macro_recall to retrieval_recall to clarify semantics
This commit is contained in:
@@ -7,7 +7,11 @@ COCOTB_TEST_MODULES := benchmarks.retrieval.test_retrieval_benchmark
|
||||
VERILOG_SOURCES := $(RTL_CAM_TOP)
|
||||
|
||||
TOPK_K ?= 5
|
||||
NUM_ROWS ?= 4096
|
||||
WRITE_NOISE_EN ?= 0
|
||||
READ_NOISE_EN ?= 0
|
||||
|
||||
CAM_RETRIEVAL_DATASET ?=
|
||||
export CAM_RETRIEVAL_DATASET
|
||||
|
||||
include $(SIM_ROOT)/mk/cocotb-common.mk
|
||||
|
||||
Reference in New Issue
Block a user