uncommented block that writes the metadata on HDF5 creation
This commit is contained in:
parent
79a6781c9e
commit
0aa59e6f3f
|
@ -1473,11 +1473,8 @@ def create_dataset_hdf5( skip_existing=True ):
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
tqdm.write(f'Error while processing {id}: {e}')
|
tqdm.write(f'Error while processing {id}: {e}')
|
||||||
|
|
||||||
"""
|
|
||||||
with open(str(metadata_path), "w", encoding="utf-8") as f:
|
with open(str(metadata_path), "w", encoding="utf-8") as f:
|
||||||
f.write( json.dumps( metadata ) )
|
f.write( json.dumps( metadata ) )
|
||||||
"""
|
|
||||||
|
|
||||||
|
|
||||||
# training
|
# training
|
||||||
for data_dir in tqdm(cfg.dataset.training, desc="Processing Training"):
|
for data_dir in tqdm(cfg.dataset.training, desc="Processing Training"):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user