Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LMDB not found #3

Open
elaith9 opened this issue May 3, 2018 · 9 comments
Open

LMDB not found #3

elaith9 opened this issue May 3, 2018 · 9 comments

Comments

@elaith9
Copy link

elaith9 commented May 3, 2018

I get error that lmdb is missing. How do I create it? Can you please leave instructions how to run this? Thanks

@spMohanty
Copy link
Owner

@elaith9
Copy link
Author

elaith9 commented May 3, 2018

@spMohanty yes, when I run it I get this: ls: cannot access 'lmdb': No such file or directory

@spMohanty
Copy link
Owner

Ahh you are right.

Please create an empty folder called "lmdb" in the root of the directory.
I will push a fix soon.
Thanks for reporting.

@elaith9
Copy link
Author

elaith9 commented May 3, 2018

@spMohanty so there is something more missing? after creating empty folder and running the script again I get nothing.

@spMohanty
Copy link
Owner

@elaith9 : Okay, providing support for this might be tricky at the moment for me.

But if you want to replicate the results, I wrote an article about it here : https://www.crowdai.org/articles/plantvillage-image-classification-tutorial

The different versions of the dataset as raw images can be accessed here : https://github.com/spMohanty/PlantVillage-Dataset/tree/master/raw

@elaith9
Copy link
Author

elaith9 commented May 3, 2018

@spMohanty the instructions are for alexnet, I wanna do it with googlenet. Anyways, I used raw colored images you have in repository and split them 7:3 for training and validation. The googlenet model I got was not as accurate like described in the research paper. I got map around 87%. I tested it with pictures from the test set I also downloaded, and it works pretty good. But when I test it with images from Internet I get almost every prediction wrong. I'm trying to figure out what is wrong.

I even took some pictures from my cherry and apple tree and predictions were just so wrong. Did you ever tried it with custom data or images from internet?

@spMohanty
Copy link
Owner

@elaith9 : That is something we reported in the paper as well.
The models we trained also performed with an accuracy of ~55% top-5 for images taken from Bing Search.

@elaith9
Copy link
Author

elaith9 commented May 3, 2018

@spMohanty Do you think the problem might be in dataset? Could sth like resnet-50 yield better results?

@spMohanty
Copy link
Owner

@elaith9 : No the generalisability (to images take from bing) of the trained models doesnt change much even if we try a whole buffet of models.
Images taken in a more real-world context (and not in lab settings) might mitigate that problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants