You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I create a custom dataset which contains about 1 million images and their cooresponding text title, when I translate them to the version of lmdb, the error is as below:
Traceback (most recent call last):
File "/code/hexufeng01/Chinese-CLIP/cn_clip/preprocess/build_lmdb_dataset.py", line 50, in
env_img = lmdb.open(lmdb_img,map_size=1024**4)
lmdb.Error: /code/hexufeng01/Chinese-CLIP/datasets/singleZF/lmdb/test/imgs: Protocol error.
I create a custom dataset which contains about 1 million images and their cooresponding text title, when I translate them to the version of lmdb, the error is as below:
Traceback (most recent call last):
File "/code/hexufeng01/Chinese-CLIP/cn_clip/preprocess/build_lmdb_dataset.py", line 50, in
env_img = lmdb.open(lmdb_img,map_size=1024**4)
lmdb.Error: /code/hexufeng01/Chinese-CLIP/datasets/singleZF/lmdb/test/imgs: Protocol error.
NAME="Ubuntu"
VERSION="20.04.5 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.5 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
Python version:3.9.7
lmbd version:1.4.1
The text was updated successfully, but these errors were encountered: