taoscript
Some scripts to do something trivial.
Scripts
- collect_files: Collect files given in a file list from a source directory, and save them into a target directory.
- generate_file_list: Generate a file list of the given directory.
- data_split: Split dataset into train/valid/test set.
- run_when_gpu_free: This script checks whether GPUs are free periodically, and if they are, runs the command(s) you specify.
- intertwine_sets: Compute the union, intersection or subtraction of two sets designated by files, and save the result to a file.
- split_list: Split a list into several groups and save to files.
- create_hard_link: Create hard link for a file or a directory.