-
-
Notifications
You must be signed in to change notification settings - Fork 318
Open
Description
Hi I'm trying to us Hyperas to optimise my Neural Network but I keep receiving this error message:
module 'hyperopt.pyll' has no attribute 'base'
It comes from that function:
def memo_from_config(self, config):
memo = {}
for node in pyll.dfs(self.expr):
if node.name == "hyperopt_param":
label = node.arg["label"].obj
# -- hack because it's not really garbagecollected
# this does have the desired effect of crashing the
# function if rec_eval actually needs a value that
# the the optimization algorithm thought to be unnecessary
memo[node] = config.get(label, pyll.base.GarbageCollected)
return memo
Someone has an idea how I can fix it ?
my script where I used Hyperas:
https://gist.github.com/julesangebault/264359cc037dfe3ceee2d8b36b042869
Metadata
Metadata
Assignees
Labels
No labels