-
Notifications
You must be signed in to change notification settings - Fork 30
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
poor performance and code error #7
Comments
Thanks @yang53 I merged the bug fixes you describe. As for the poor performance, this is an issue I am still working on. It basically has everything to do with the preprocessing of the image. Note that the original Jaderberg network was trained with preprocessed images in MATLAB. I tried to replicate this preprocessing in numpy/scipy/scikit-image and I had is working on Ubuntu Linux, but am struggling to replicate it on MAC OSX. Question: what operating system are you using? |
thanks Dan,I use Ubuntu Linux too. Detection with DICT method 0.12s Detection with ngram method 0.05s image 2 :./Image/Chevron.jpg Detection with DICT method 0.10s Detection with ngram method 0.05s image 3 :./Image/CondoleezzaRice.jpg Detection with DICT method 0.09s Detection with ngram method 0.06s image 4 :./Image/intro.jpg Detection with DICT method 0.10s Detection with ngram method 0.05s so I think Jaderberg matlab network is only a little better than yours。 Maybe poor relsult from model |
If you have MATLAB available, check the equivalence of the preprocessed images (prior to inserting into the convnet). My suspicion is that when the two models differ in output, these preprocessed images will be different. |
in use_dictnet.py
line 21: I have 1st error, I think it should be open('dict2_architecture.json')
line 26: I have 2nd error, I think it should be self.model.load_weights('dict2_weights.h5')
line 51: I have 3rd error, I think it should be z = self.model.predict_classes
in use_charnet.py
line 59: I have 1st error, I think it should be filename = '../IMAGES/Chevron.jpg'
when I run use_dictnet.py and use_charnet.py, they all get right result for Chevron.jpg, but all wrong for
CondoleezzaRice.jpg and CMA_CGM.jpg, I want to know why poor performance?have i made something wrong?
The text was updated successfully, but these errors were encountered: