lmdb Questions

2

I'm trying to create DB and env using LMDB. I'm facing an issue on Env. create(). I have used LMDB documentation for this. Exception in thread "main" java.lang.ExceptionInInitializerError...
Mcgee asked 26/10, 2021 at 18:34

2

Solved

I've been experimenting with nearest neighbor algorithm for images with the style presented in this post (i.e. goal is to see how many nearly similar images there is). After getting the example ada...
Splat asked 5/7, 2019 at 15:3

3

Solved

import lmdb env = lmdb.open(path_to_lmdb) Now I seem to need to create a transaction and a cursor, but how do I get a list of keys that I can iterate over?
Pagination asked 9/9, 2015 at 21:55

3

Solved

I am trying to read an image from a numpy array using PIL, by doing the following: from PIL import Image import numpy as np #img is a np array with shape (3,256,256) Image.fromarray(img) and am ...
Arielariela asked 20/5, 2015 at 9:39

4

Solved

I open a lmdb database using this code: lmdb_env = lmdb.open(source_path, readonly=True) How can I count the number of records in this database?
Eating asked 22/12, 2015 at 16:32

4

Solved

Creating datasets for training with Caffe I both tried using HDF5 and LMDB. However, creating a LMDB is very slow even slower than HDF5. I am trying to write ~20,000 images. Am I doing something t...
Extemporize asked 27/7, 2015 at 9:16

3

Solved

I'm trying to create an LMDB data base file in Python to be used with Caffe according to this tutorial. The commands import numpy as np and import caffe run perfectly fine. However, when I try to r...
Pegmatite asked 10/6, 2015 at 23:28

1

Solved

I am testing LMDB performance with the benchmark given in http://www.lmdb.tech/bench/ondisk/. And I noticed that LMDB random writes are really slow when the data goes beyond memory. I am using a m...
Graveclothes asked 15/3, 2018 at 2:3

1

The executable which uses the lmdb library is in 64 bit linux format . Because dependency libraries of the executable are in 64 bit .Building executable & lmdb lib as 32bit solution not possib...
Assize asked 7/6, 2017 at 8:39

1

Solved

When creating lmdb environment I can specify map size. Is there a way to determine at any point how much of the map size is used up? In other words, I need to find out how much free space is left ...
Eugeniaeugenics asked 9/11, 2016 at 0:20

2

Posting here as I could not find any forums for lmdb key-value store. Is there a limit for sub-databases? What is a reasonable number of sub-databases concurrently open? I would like to have ~20...
Mcclanahan asked 9/3, 2015 at 1:0

1

How does one get a list of the named databases that are part of an env ? From reading some python binding docs (named database implementation), I understand the names are stored in the main (unname...
Leucippus asked 27/8, 2016 at 23:29

3

Solved

I am trying to build a deep learning model for Saliency analysis using caffe (I am using the python wrapper). But I am unable to understand how to generate the lmdb data structure for this purpose....
Jaynajayne asked 10/11, 2015 at 10:29

2

Solved

I've extracted features using caffe, which generates a .mdb file. Then I'm trying to read it using Python and display it as a readable number. import lmdb lmdb_env = lmdb.open('caffefeat') lmdb_t...
Juarez asked 14/10, 2015 at 5:53

1

Solved

What would be the performance difference (reads/writes) between some C++ implementation of in-memory B-Tree (for example google btree) and the LMDB (without taking into consideration all the feacur...
Nietzsche asked 8/2, 2016 at 21:32

1

Solved

I have around 1 million images to put in this dataset 10000 at a time appended to the set. I"m sure the map_size is wrong with ref from this article used this line to create the set env = lmdb...
Iyar asked 16/1, 2016 at 0:32

1

Solved

When using caffe, to create training dataset containing images we need to create database in special format like lmdb, but there is any option to pass to caffe batch of images as for example vector...
Garges asked 16/10, 2015 at 15:25

2

Solved

I'm trying to understand how data is interpreted in Caffe. For that I've taken a look at the Minst Tutorial Looking at the input data definition: layers { name: "mnist" type: DATA data_param { ...
Iridic asked 9/4, 2015 at 4:44

0

I'm considering using LMDB in a web application, which, of course, will be multi-threaded. In they Symas documentation for mdb_dbi_open it states "This function must not be called from multiple co...
Chinatown asked 19/10, 2014 at 0:52
1

© 2022 - 2024 — McMap. All rights reserved.