Skip to content

Commit

Permalink
Update create_dataset.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bgshih committed Dec 21, 2015
1 parent 8bcb8bb commit 296c5f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tool/create_dataset.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import os
import lmdb
import lmdb # install lmdb by "pip install lmdb"
import cv2
import numpy as np


def checkImageIsValid(imageBin):
Expand Down

2 comments on commit 296c5f4

@chengzhanzhan
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I install lmdb by using "apt-get install lmdb", but get the error as follow:

import lmdb
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named lmdb
ImportError: No module named lmdb
File "", line 1
ImportError: No module named lmdb
^
SyntaxError: invalid syntax

Here I found the lmdb installation of lmdb by using pip. The author should update the installation style of lmdb in the readme.md.

@bgshih
Copy link
Owner Author

@bgshih bgshih commented on 296c5f4 May 20, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Followed it. Thanks!

Please sign in to comment.