Skip to content

Commit

Permalink
updated path conflicts in examples/pcb-aoi/incremental_learning_bench
Browse files Browse the repository at this point in the history
Signed-off-by: Aryan <nandaaryan823@gmail.com>
  • Loading branch information
AryanNanda17 committed Feb 6, 2025
1 parent de8f2ea commit 28b31a9
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ benchmarkingjob:
# job name of bechmarking; string type;
name: "benchmarkingjob"
# the url address of job workspace that will reserve the output of tests; string type;
workspace: "/ianvs/incremental_learning_bench/workspace"
workspace: "./workspace/incremental_learning_bench"

# the url address of test environment configuration file; string type;
# the file format supports yaml/yml;
testenv: "./examples/pcb-aoi/incremental_learning_bench/testenv/testenv.yaml"
testenv: "./examples/pcb-aoi/incremental_learning_bench/fault_detection/testenv/testenv.yaml"

# the configuration of test object
test_object:
Expand All @@ -19,7 +19,7 @@ benchmarkingjob:
- name: "fpn_incremental_learning"
# the url address of test algorithm configuration file; string type;
# the file format supports yaml/yml
url: "./examples/pcb-aoi/incremental_learning_bench/testalgorithms/fpn/fpn_algorithm.yaml"
url: "./examples/pcb-aoi/incremental_learning_bench/fault_detection/testalgorithms/fpn/fpn_algorithm.yaml"

# the configuration of ranking leaderboard
rank:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ algorithm:
# 1> "default": the dataset is evenly divided based train_ratio;
splitting_method: "default"
# the url address of initial model for model pre-training; string url;
initial_model_url: "/ianvs/initial_model/model.zip"
initial_model_url: "./initial_model/model.zip"

# algorithm module configuration in the paradigm; list type;
modules:
Expand All @@ -25,7 +25,7 @@ algorithm:
# example: basemodel.py has BaseModel module that the alias is "FPN" for this benchmarking;
name: "FPN"
# the url address of python module; string type;
url: "./examples/pcb-aoi/incremental_learning_bench/testalgorithms/fpn/basemodel.py"
url: "./examples/pcb-aoi/incremental_learning_bench/fault_detection/testalgorithms/fpn/basemodel.py"

# hyperparameters configuration for the python module; list type;
hyperparameters:
Expand All @@ -44,7 +44,7 @@ algorithm:
# name of python module; string type;
name: "IBT"
# the url address of python module; string type;
url: "./examples/pcb-aoi/incremental_learning_bench/testalgorithms/fpn/hard_example_mining.py"
url: "./examples/pcb-aoi/incremental_learning_bench/fault_detection/testalgorithms/fpn/hard_example_mining.py"
# hyperparameters configuration for the python module; list type;
hyperparameters:
# name of the hyperparameter; string type;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ testenv:
# dataset configuration
dataset:
# the url address of train dataset index; string type;
train_url: "/ianvs/dataset/train_data/index.txt"
train_index: "./dataset/train_data/index.txt"
# the url address of test dataset index; string type;
test_url: "/ianvs/dataset/test_data/index.txt"
test_index: "./dataset/test_data/index.txt"

# model eval configuration of incremental learning;
model_eval:
Expand All @@ -13,7 +13,7 @@ testenv:
# metric name; string type;
name: "f1_score"
# the url address of python file
url: "./examples/pcb-aoi/incremental_learning_bench/testenv/f1_score.py"
url: "./examples/pcb-aoi/incremental_learning_bench/fault_detection/testenv/f1_score.py"

# condition of triggering inference model to update
# threshold of the condition; types are float/int
Expand All @@ -27,7 +27,7 @@ testenv:
# metric name; string type;
- name: "f1_score"
# the url address of python file
url: "./examples/pcb-aoi/incremental_learning_bench/testenv/f1_score.py"
url: "./examples/pcb-aoi/incremental_learning_bench/fault_detection/testenv/f1_score.py"
- name: "samples_transfer_ratio"

# incremental rounds setting of incremental learning; int type; default value is 2;
Expand Down

0 comments on commit 28b31a9

Please sign in to comment.