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

module 'caffe' has no attribute 'set_mode_cpu' #7074

Open
Zvyozdo4ka opened this issue Nov 1, 2023 · 0 comments
Open

module 'caffe' has no attribute 'set_mode_cpu' #7074

Zvyozdo4ka opened this issue Nov 1, 2023 · 0 comments

Comments

@Zvyozdo4ka
Copy link

I set CPU_ONLY := 1in Makefile.config, then make clean, then make again, but I still have this Error:

    caffe.set_mode_gpu()
AttributeError: module 'caffe' has no attribute 'set_mode_gpu'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/yulduz/Projects/GitHub/3dmm_cnn/demoCode/testBatchModel.py", line 113, in <module>
    caffe.set_mode_cpu()
AttributeError: module 'caffe' has no attribute 'set_mode_cpu'
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

1 participant