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

Preprocessing speed is fast #2

Open
tengpeng opened this issue Feb 17, 2016 · 2 comments
Open

Preprocessing speed is fast #2

tengpeng opened this issue Feb 17, 2016 · 2 comments

Comments

@tengpeng
Copy link

I am not sure whether or not it is suitable to open a new issue to discuss the speed of Preprocessing.

I notice that the reprocessing speed is so fast. It outperforms around 10x times to my another preprocessing code on the same data. That's impressive. I am curious how do you achieve that. Is there anything you avoid to do in your functions?

The preprocessing stage include what happens in the data.py and train.py.

@jocicmarko
Copy link
Owner

Since you didn't mention which other pre-processing techniques you currently use, I can't really say why my code outperforms yours :).
Basically I use scipy and scikit-image libraries, and I guess it can perform even faster with OpenCV, but I can't offer any official benchmark for that claim.

@tengpeng
Copy link
Author

https://github.com/dmlc/mxnet/blob/master/example/kaggle-ndsb2/Preprocessing.py

I guess the function get_data might be the problem causes the performance issue, but I am not sure about that. Maybe need add timer for each function for testing. : )

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