Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a ratio to split train vs val set in tools/vqgan/create_train_spl…
…it.py (#11) * feat(tools): vqgan/create_train_split: use a ratio to split train vs val set * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * feat(tools): vqgan/create_train_split: support using --val_ratio and --val_count to adjust split * feat(tools): vqgan/create_train_split: support using --val_ratio and --val_count to adjust split * fix(tools): vqgan/create_train_split: fix wrong option name * Clean some code --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Leng Yue <[email protected]>
- Loading branch information