Skip to content

Specify folders only in test/train JSON configs - #22

Open
NullLabTests wants to merge 1 commit into
trueagi-io:mainfrom
NullLabTests:main
Open

Specify folders only in test/train JSON configs#22
NullLabTests wants to merge 1 commit into
trueagi-io:mainfrom
NullLabTests:main

Conversation

@NullLabTests

Copy link
Copy Markdown

Moves all folder path specifications (generalization_set_folder, train_json, test_json) exclusively into example_config.json files, removing them from Python function signatures and hardcoded script values.

Changes

  • Added generalization_set_folder, train_json, test_json to both example_config.json files
  • Added corresponding fields to ConfigPaths and construct_configs() in both benchmark suites
  • Removed train_json, test_json, generalization_set_folder parameters from benchmark() function signatures
  • Removed hardcoded generalization_set_folder from all 9 test_*_example.py scripts
  • dataset_index_creation_example.py now reads directory from config
  • images_to_distribution.py now reads basepath from config

Files changed: 17 files

All folder paths (generalization_set_folder, train_json, test_json) are now
specified only in example_config.json and read via ConfigPaths at runtime.

Changes:
- Add generalization_set_folder, train_json, test_json to example_config.json
  for both block_type_classification and class_distribution_using_segmentation
- Add corresponding fields to ConfigPaths and construct_configs() in both suites
- Remove train_json, test_json, generalization_set_folder params from
  benchmark() function signatures; values are now read from ConfigPaths
- Remove hardcoded generalization_set_folder from all 9 test_*_example.py scripts
- dataset_index_creation_example.py now loads directory from example_config.json
- images_to_distribution.py now loads basepath from example_config.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant