Spaces:
Runtime error
Runtime error
File size: 262 Bytes
0b7b08a |
1 2 3 4 5 6 7 8 9 10 11 12 |
import os
MAXCOUNT = 1000
NAMING = "%06d.tar"
def check_sample(sample):
assert "__key__" in sample
assert "image_path.txt" in sample
assert os.path.exists(sample["image_path.txt"])
assert "dataset.txt" in sample
assert "data.pyd" in sample
|