-
Notifications
You must be signed in to change notification settings - Fork 154
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
about test time #1
Comments
you can test the model via |
yeah. i test it. but i don't know if there is something wrong, the whole time for the network is about 1+ s per image, which i think is too long. i wonder if you ever saved the result of the test time for each level? |
I test the model on a 2.2 GHz CPU, it doesn't perform that bad, Actually I got the result below.
|
thank you very much for your sharing! !! i will check my work again~~~~(>_<)~~~~ |
@luoyetx First of all thanks for sharing the code. Can this code run in Linux OS Ubuntu? When I was running this code, I got below error Traceback (most recent call last): Please suggest how to run this code in Ubuntu? Thanks in advance !!! |
@sshhuu110 I'm using CentOS but I don't think the OS is the problem. I think you run your script like |
@luoyetx Thanks, The code is running. But how does it take to run on a CPU. What is the training time? |
all prototxt files are generate by python code generate.py. The default device is GPU. About the training time. It really depends on the GPU. And you should tuning the CNNs carefully which can cost much time. |
I changed it to CPU, I started running on Friday and it is still running. Any suggestions, is it normal training time? |
I don't recommend you to use CPU which will be very slow. What's more, you should change the |
@luoyetx @sshhuu110 |
@yyytq Now, I could able to run it on Linux OS and with only CPU. What is the exact error are u facing? |
@sshhuu110 just the first error you meet. File "dataset/level1.py", line 16, in i have changed the script, but the error remain T^T |
@yyytq you may consider to modify |
@yyytq I did some thing like this |
@yytq Since these functions are in utils.py and utils.py is in common folder. I think we should also add common folder path to PYTHONPATH. This will solve your problem :) |
I think this must be dataset related problem, either you don't have data On Tue, Jan 26, 2016 at 8:45 PM, yyytq [email protected] wrote:
|
@sshhuu110 i'm sure the path is right..... As i also encounter the error that can't found caffe .. i add the caffe path before 'import caffe' so that it can run |
@yytq I have faced the "can't found caffe" problem also. For that in level.py file in train folder you have to change cmd path to your caffe path like below
|
@sshhuu110 yeah . i have solved this by myself.... |
@yytq I had not got this "CV_LOAD_IMAGE_GRAYSCALE" problem I did only the changes I have mentioned attached level1 level2 level3 level.py files FYR On Wed, Jan 27, 2016 at 3:56 PM, yyytq [email protected] wrote:
|
@sshhuu110 okay!thank you a lot !! |
@sshhuu110 hi ,I have faced the "can't found caffe" problem, and i changed code as below it showed "sh: 1:"/home/data/caffe-master/tools/caffe: not found",do you know how to solve this problem |
@yyytq hi,have you solved the problem "'module' object has no attribute 'CV_LOAD_IMAGE_GRAYSCALE'"?I meet it too.Thanks a lot! |
@yyytq Hi,I have solved it! Just replace "CV_LOAD_IMAGE_GRAYSCALE" in the code with "IMREAD_GRAYSCALE". |
thank you very much for your code sharing. Is it possible to tell me the test time of the three levels? or can you give a proportion of the time cost of different level?
thx again!!!
The text was updated successfully, but these errors were encountered: