Skip to content

'function' object has no attribute 'func_name' #26

@rohith2334

Description

@rohith2334

when i run python conv_net_train.py -static -word2vec 2
this happens
traceback (most recent call last): File "conv_net_train.py", line 479, in <module> activations=[Sigmoid]) File "conv_net_train.py", line 130, in train_conv_net classifier = MLPDropout(rng, input=layer1_input, layer_sizes=hidden_units, activations=activations, dropout_rates=dropout_rate) File "conv_net_classes.py", line 110, in __init__ dropout_rate=dropout_rates[layer_counter]) File "conv_net_classes.py", line 85, in __init__ activation=activation, use_bias=use_bias) File "conv_net_classes.py", line 43, in __init__ if activation.func_name == "ReLU": AttributeError: 'function' object has no attribute 'func_name'

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