train_datasets_list = [
x.strip() for x in open(train_list, 'r').readlines()]
#-------------------
for train_data_ in train_datasets_list[0:1]:
train_data_path = train_data_
快速读取.txt中的路径放到list中, 并遍历
最新推荐文章于 2024-08-24 23:00:16 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)