Skip to content

ModuleNotFoundError: No module named 'mffusion.utils.mlgp_hook' #6

@M2LabOrg

Description

@M2LabOrg

Hi,

When I run gar_demo.py, I get the following error:

Traceback (most recent call last):
  File "gar_demo.py", line 13, in <module>
    from mffusion.modules.gp_module.hogp import HOGP_MODULE
  File "/Users/skl/Documents/GitHub/UoS_dissertation/FidelityFusion/mffusion/modules/gp_module/hogp.py", line 17, in <module>
    from mffusion.utils.mlgp_hook import set_function_as_module_to_catch_error
ModuleNotFoundError: No module named 'mffusion.utils.mlgp_hook'

The mlgp_hook file is not found under utils. The code works well when I comment this line in hogp.py:

from mffusion.utils.mlgp_hook import set_function_as_module_to_catch_error

Where can I find mlgp_hook?

Thanks!

Michel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions