Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pcb-aoi path errors and dependency conflicts resolved #171

Merged
merged 2 commits into from
Feb 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

he path should be "./examples/pcb-aoi/incremental_learning_bench/fault detection/testenv/f1_score.py", and there is no "_" between "fault" and "detection".


# 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
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/singletask_learning_bench/workspace"
workspace: "./workspace/singletask_learning_bench"

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

# the configuration of test object
test_object:
Expand All @@ -19,7 +19,7 @@ benchmarkingjob:
- name: "fpn_singletask_learning"
# the url address of test algorithm configuration file; string type;
# the file format supports yaml/yml;
url: "./examples/pcb-aoi/singletask_learning_bench/testalgorithms/fpn/fpn_algorithm.yaml"
url: "./examples/pcb-aoi/singletask_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 @@ -5,7 +5,7 @@ algorithm:
# 2> "incrementallearning"
paradigm_type: "singletasklearning"
# the url address of initial model; string type; optional;
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 @@ -17,7 +17,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/singletask_learning_bench/testalgorithms/fpn/basemodel.py"
url: "./examples/pcb-aoi/singletask_learning_bench/fault_detection/testalgorithms/fpn/basemodel.py"

# hyperparameters configuration for the python module; list type;
hyperparameters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ 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"

# metrics configuration for test case's evaluation; list type;
metrics:
# metric name; string type;
- name: "f1_score"
# the url address of python file
url: "./examples/pcb-aoi/singletask_learning_bench/testenv/f1_score.py"
url: "./examples/pcb-aoi/singletask_learning_bench/fault_detection/testenv/f1_score.py"
Loading