├ trainset/
├── 0/
│ ├── [label]-xxxxx.npy
│ ├── ......
├── 1/
├── ......
├── 10/
│
├ testset/
├── 0/
│ ├── xxxxx.npy
│ ├── ......
├── 1/
├── ......
├── 10/
文件夹"0"为基类数据集,文件夹"1"-"10"为新类数据集的10个增量阶段数据。每个文件夹内包含.npy格式的点云数据,可以使用numpy.load(path)读取相应文件。在trainset中,文件命名保证依照"[label]-xxxxx.npy"格式,其中第一个"-"前的内容为该点云的类别名,可以使用filename.split('-')[0]获取相应标签。
class CONTESTCIL_train(Dataset):
def
init(self, root='./trainset', session=0… See the full description on the dataset page:
https://huggingface.co/datasets/tyhuang/3D_Few-Shot_Class-Incremental_Learning_Dataset.