In the process of our Personal Photo Experience Project, There are some bugs which hinder our forwards. But through our spirit of perserverance,
We have already fixed them and make our product more excellent. So following are some bug list and the how to fix them.
======================Bug Bash============================
Bug1:
Extract features with Caffe can‘t support multi-thread.
Solve Method:
Firstly, we load some model in the memory to store the model parameters. Then we use the MUTEX to lock the model resources.
This way is very effecient, but a little cost in memory.
Bug2:
The features from the SOFTMAX layer is not reasonable.
Solve Method:
This is caused by the mismatch between training process model label list and the match label list. After replaceing the label list,
The probability of the labels is reasonable.
Bug3:
The program will crash when click the microphone bottom before the initialization of the microphone.
Solve Method:
Before the initialization of the microphone, we disable the microphone. And It will not crash anymore.
Bug4:
When we upload some photos, if the last bach of the photo is not been processed, it will make an error.
Solve Method:
In the server end, we add a judgement of the statement that whether the photos are processing or not.
Bug5:
In the image tagging, if there are some spaces in the upload file the program will crash.
Solve Method:
This problem is from the programer feature extraction and when it is an account which has thousands photos. If user upload photos in the
APP or web, it will work on the right way.
Bug6:
Some incomplete of the received images data format, it will make the program crash.
Solver Method:
When receiving the web images, make a successful judgement. If not, resend it.
========================================================