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

global name 'DeconvBNLayer' is not defined? #17

Open
jufeng123 opened this issue Jan 5, 2018 · 5 comments
Open

global name 'DeconvBNLayer' is not defined? #17

jufeng123 opened this issue Jan 5, 2018 · 5 comments

Comments

@jufeng123
Copy link

When I run examples/ssd/ssd_pascal_resnet_deconv_321.py, an error is NameError: global name 'DeconvBNLayer' is not defined?

@Qh-chen
Copy link

Qh-chen commented Jan 24, 2018

Have you solved this problem? Please tell me how to solve it if you kown. Thanks very much.

@zp678
Copy link

zp678 commented Mar 24, 2018

global name 'DeconvBNLayer' is not defined?,Have you solved this problem?@jufeng123@Qh-chen

@lijuan123
Copy link

The reason is that this script dose not difine caffe/python root, just add "caffe_root=''your_path", sys.path.insert(0,caffe_root+'python') ,sys.path.append("./python") _

@zp678
Copy link

zp678 commented Mar 29, 2018

I tried your method but it didn't work。Do you have other methods?@lijuan123

@RushDon
Copy link

RushDon commented Jun 5, 2018

@zp678 @Qh-chen @jufeng123 The DeconvBNLayer is defined in the model_libs.py, so you need to download the lastest caffe-ssd, you can download the branch caffe-dssd and recompile the resource code.

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