Skip to content

Commit

Permalink
feat(hyfi/conf/pipe): add load, sample, save dataset configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
entelecheia committed Jul 22, 2023
1 parent 263d2e3 commit 63684ed
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/hyfi/conf/pipe/dataset_load_from_disk.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
defaults:
- __general_external_funcs__

run: hyfi.pipe.datasets.load_dataset_from_disk
run_with:
dataset_path:
verbose: ${..verbose}
use_pipe_obj: false
11 changes: 11 additions & 0 deletions src/hyfi/conf/pipe/dataset_sample.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
defaults:
- __general_external_funcs__

run: hyfi.pipe.datasets.sample_dataset
run_with:
num_samples: 100
randomize: true
random_seed: 123
verbose: ${..verbose}
use_pipe_obj: true
return_pipe_obj: false
6 changes: 6 additions & 0 deletions src/hyfi/conf/pipe/dataset_save_to_disk.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
defaults:
- __general_external_funcs__

run: hyfi.pipe.datasets.save_dataset_to_disk
run_with:
dataset_path:

0 comments on commit 63684ed

Please sign in to comment.