open3d.data.OfficePointClouds中的download_dir变量指定下载Office点云数据集的目录路径。
download_dir : str = /home/user/.open3d/datasets/OfficePointClouds/
import open3d as o3d
# 下载office点云数据集到默认目录
o3d.datasets.download_pointcloud_dataset("OfficePointClouds")
# 指定下载目录
o3d.datasets.download_pointcloud_dataset("OfficePointClouds", download_dir="/path/to/office/pointclouds/")
download_dir变量的默认值为/home/user/.open3d/datasets/OfficePointClouds/,如果该目录不存在,会自动创建。
如果需要更改下载目录,可以通过传递download_dir参数修改。