Prepare the info file for sunrgbd dataset. Args: root_path (str): Path of dataset root. info_prefix (str): The prefix of info filenames. out_dir (str): Output directory of the generated info file. workers (int): Number of threads to be used.
(root_path, info_prefix, out_dir, workers)
| 135 | |
| 136 | |
| 137 | def sunrgbd_data_prep(root_path, info_prefix, out_dir, workers): |
| 138 | """Prepare the info file for sunrgbd dataset. |
| 139 | |
| 140 | Args: |
| 141 | root_path (str): Path of dataset root. |
| 142 | info_prefix (str): The prefix of info filenames. |
| 143 | out_dir (str): Output directory of the generated info file. |
| 144 | workers (int): Number of threads to be used. |
| 145 | """ |
| 146 | indoor.create_indoor_info_file( |
| 147 | root_path, info_prefix, out_dir, workers=workers) |
| 148 | |
| 149 | |
| 150 | def waymo_data_prep(root_path, |