tanglang96 / DataLoaders_DALI

PyTorch DataLoaders implemented with DALI for accelerating image preprocessing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

训练数据的读取

zhanglaplace opened this issue · comments

您好,我看目前的例子都是给定分类的文件夹,可以有类似pytorch的自定义Datasets的数据读取方式吗。传入一个txt文件对应imagePath和label 然后在getitem中具体处理。