PaddlePaddle / PaddleVideo

Awesome video understanding toolkits based on PaddlePaddle. It supports video data annotation tools, lightweight RGB and skeleton based action recognition model, practical applications for video tagging and sport action detection.
Apache License 2.0
1.54k stars 382 forks source link

ucf101数据标签索引问题 #622

Open qq-tt opened 1 year ago

qq-tt commented 1 year ago

为什么classInd.txt类别索引是从1开始,但是生成的ucf101_train_split_1_rawframes.txt和ucf101_train_split_1_videos.txt类别索引却是从0开始,这样训练的话不会有问题么?一个文件标签从1开始,另两个从0开始。 image image

huangjun12 commented 1 year ago

https://github.com/PaddlePaddle/PaddleVideo/blob/ac408735e57a93b536d6fd4ee94c11255a8d0daf/data/ucf101/build_ucf101_file_list.py#LL70C9-L70C9 class_id只是类别id和中文名的映射关系,不会影响训练