Hello,
When creating my own ImageNet LMDB with the provided imagenet_lmdb_dataset (in mambavision/utils/datasets.py) code, I ran into two issues:
- Type Error:
lmdb expects an int as the map_size, but 1e12 is interpreted as a float.
- Environment Error: The script opens the dataset a second time before closing it, which results in an
lmdb.Error: The environment '' is already open in this process error.
I have a local fix for both. Would you be open to a Pull Request (PR)?
Kind regards,
Christian
Hello,
When creating my own ImageNet LMDB with the provided imagenet_lmdb_dataset (in
mambavision/utils/datasets.py) code, I ran into two issues:lmdbexpects an int as themap_size, but1e12is interpreted as a float.lmdb.Error: The environment '' is already open in this processerror.I have a local fix for both. Would you be open to a Pull Request (PR)?
Kind regards,
Christian