Closed xiaomingjie closed 5 years ago
fixed it.
#add this line in neworks.py line 281
self.optim = {}
self.optim['optimizer'] = T.optim.Adam(self.trainable, 1e-4, weight_decay=0) if optimizer is None else optimizer(self.trainable)
self.optim['scheduler'] = scheduler(self.optim['optimizer']) if scheduler else None
But I encounter another error. I will open a new issue.
Hi @justanhduc
It seems that in .gin configs, there are only GraphX.optimizer and GraphX.scheduler. There is no optim['optimizer'] or optim['scheduler']. I tried to fix it but failed.