13 lines
242 B
Python
13 lines
242 B
Python
import os
|
|
|
|
|
|
# path_1 = 'newdataset/train/images'
|
|
# path_2 = 'newdataset/train/labels'
|
|
|
|
path_1 = 'newdataset/val/images'
|
|
path_2 = 'newdataset/val/labels'
|
|
|
|
t_1 = len(os.listdir(path_1))
|
|
t_2 = len(os.listdir(path_2))
|
|
|
|
print(t_1, t_2) |