23a45d5eb839c763c94c0e413ad599d9f9b5e184,codes/scripts/create_lmdb.py,,,#,8
Before Change
// The encode is only essential in Python 3
txn.put(key, data)
txn.put(meta_key, meta.encode("ascii"))
print("Finish writing to lmdb - {}.".format(len(file_list)))
// create keys cache
keys_cache_file = os.path.join(lmdb_save_path, "_keys_cache.p")
After Change
import lmdb
import cv2
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from utils.progress_bar import ProgressBar
// configurations
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances
Project Name: xinntao/BasicSR
Commit Name: 23a45d5eb839c763c94c0e413ad599d9f9b5e184
Time: 2018-09-06
Author: wxt1994@126.com
File Name: codes/scripts/create_lmdb.py
Class Name:
Method Name:
Project Name: mindsdb/mindsdb
Commit Name: 7283915223e65af525bc8334e7593bbcac9943cf
Time: 2020-06-26
Author: wzzhz13@gmail.com
File Name: distributions/windows/install.py
Class Name:
Method Name:
Project Name: Esri/raster-functions
Commit Name: 164b392ce45a1baa7523212c451fa3d20cb06450
Time: 2015-05-21
Author: akferoz@esri.com
File Name: setup.py
Class Name:
Method Name: main
Project Name: xinntao/BasicSR
Commit Name: 23a45d5eb839c763c94c0e413ad599d9f9b5e184
Time: 2018-09-06
Author: wxt1994@126.com
File Name: codes/scripts/create_lmdb.py
Class Name:
Method Name:
Project Name: vatlab/SoS
Commit Name: c2ee9e1bb529a96850cd6621c43c420cea2a9efe
Time: 2016-10-15
Author: ben.bog@gmail.com
File Name: pysos/main.py
Class Name:
Method Name: cmd_remove