Skip to content

具有不确定性量化的函数 #2037

@ayiiiii1105

Description

@ayiiiii1105

您好,
我是一个初学者,当我复制[学习具有不确定性量化的函数](https://github.com/lululxvi/deepxde/blob/master/examples/function/func_uncertainty.py] 中包含的完整代码运行时发生了

    net = dde.nn.FNN(
        layer_size,
    ...<3 lines>...
        dropout_rate=0.01,
    )
TypeError: FNN.__init__() got an unexpected keyword argument 'dropout_rate'

报错,询问ai后得到当前 DeepXDE 版本的 FNN 不支持 dropout_rate 参数的结果,但我已经尝试更新为最新的deepxde版本,请问为什么会报错?我又该如何解决这个问题。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions