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

the code seems stuck after the patch-level detection, is that normal? #4

Open
AGiantPanda opened this issue Oct 4, 2018 · 7 comments

Comments

@AGiantPanda
Copy link

hi

when doing "overlapping 25x25 patch extraction from uncertain region", the program doesn't go any further and I have to kill the process manually.

I use ubuntu 18.04, python3 to run the program

@dmaugis
Copy link

dmaugis commented Oct 17, 2018

Same here, on a docker with ubuntu 16 & python2.7. I did put traces and...it seems it is normal, the process is very slow.

@Yang-Sheng-Tang
Copy link

hello
when the run this main.py
Results of the program is Segmentation fault (core dumped)
i use the ubuntu and python2.7
please why this result for run this program

@UmarSpa
Copy link
Owner

UmarSpa commented Nov 17, 2018

hi

when doing "overlapping 25x25 patch extraction from uncertain region", the program doesn't go any further and I have to kill the process manually.

I use ubuntu 18.04, python3 to run the program

As mentioned by @dmaugis , the process is a bit slow. Just have some patience and it will work.

@UmarSpa
Copy link
Owner

UmarSpa commented Nov 17, 2018

hello
when the run this main.py
Results of the program is Segmentation fault (core dumped)
i use the ubuntu and python2.7
please why this result for run this program

Try running the code line by line in ipython (i.e. debugging) to see exactly where is the problem. Let me know if you still can't fix it.

@Yang-Sheng-Tang
Copy link

thanks
Excuse me what does upattern mean? I recently tried to understand the code. stuck this here.

@Yang-Sheng-Tang
Copy link

i use the ipython in this code
i use anaconda3 ipython and caffegpu
but result of run is import error
this situation is what? i very upset

ImportError Traceback (most recent call last)
/home/alan/HairAnalysis/main.py in ()
19 import numpy as np
20 import skimage
---> 21 import caffe
22 import argparse
23

/home/alan/anaconda3/envs/caffff/lib/python2.7/site-packages/caffe/init.py in ()
----> 1 from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver, NCCL, Timer
2 from ._caffe import init_log, log, set_mode_cpu, set_mode_gpu, set_device, Layer, get_solver, layer_type_list, set_random_seed, solver_count, set_solver_count, solver_rank, set_solver_rank, set_multiprocess, has_nccl
3 from ._caffe import version
4 from .proto.caffe_pb2 import TRAIN, TEST
5 from .classifier import Classifier

/home/alan/anaconda3/envs/caffff/lib/python2.7/site-packages/caffe/pycaffe.py in ()
11 import numpy as np
12
---> 13 from ._caffe import Net, SGDSolver, NesterovSolver, AdaGradSolver,
14 RMSPropSolver, AdaDeltaSolver, AdamSolver, NCCL, Timer
15 import caffe.io

@andrew-begain
Copy link

@UmarSpa hi,The website address of the pre-training model is invalid. Could you please provide a new website address? Thank you

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

5 participants