Skip to content

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

Description

@Zvyozdo4ka

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions