You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am training the belief tracker. I am getting the error in the very last stage of training:
.
.
.
Finishing 202 dialog in epoch 1
Finishing 203 dialog in epoch 1
Epoch 1, Alpha 0.002000, TRAIN entropy:95.17, Time:14.06 mins,
VALID entropy:74.52
saving net to file ...
Traceback (most recent call last):
File "nndial.py", line 22, in
model.trainNet()
File "C:\Users\MY DELL\Desktop\Course\6th sem\UGP\data\NNDIAL-master\nn\NNDialogue.py", line 590, in trainNet
self.saveNet()
File "C:\Users\MY DELL\Desktop\Course\6th sem\UGP\data\NNDIAL-master\nn\NNDialogue.py", line 999, in saveNet
'file' :dict( [(name,eval(name)) for name in self.file_vars]),
File "C:\Users\MY DELL\Desktop\Course\6th sem\UGP\data\NNDIAL-master\nn\NNDialogue.py", line 999, in
'file' :dict( [(name,eval(name)) for name in self.file_vars]),
File "", line 1, in NameError: name 'self' is not defined
I am not able to understand why this error is coming
Could anyone please help with this. I would be really grateful. Thanks
The text was updated successfully, but these errors were encountered:
I am training the belief tracker. I am getting the error in the very last stage of training:
.
.
.
Finishing 202 dialog in epoch 1
Finishing 203 dialog in epoch 1
Epoch 1, Alpha 0.002000, TRAIN entropy:95.17, Time:14.06 mins,
VALID entropy:74.52
saving net to file ...
Traceback (most recent call last):
File "nndial.py", line 22, in
model.trainNet()
File "C:\Users\MY DELL\Desktop\Course\6th sem\UGP\data\NNDIAL-master\nn\NNDialogue.py", line 590, in trainNet
self.saveNet()
File "C:\Users\MY DELL\Desktop\Course\6th sem\UGP\data\NNDIAL-master\nn\NNDialogue.py", line 999, in saveNet
'file' :dict( [(name,eval(name)) for name in self.file_vars]),
File "C:\Users\MY DELL\Desktop\Course\6th sem\UGP\data\NNDIAL-master\nn\NNDialogue.py", line 999, in
'file' :dict( [(name,eval(name)) for name in self.file_vars]),
File "", line 1, in
NameError: name 'self' is not defined
I am not able to understand why this error is coming
Could anyone please help with this. I would be really grateful. Thanks
The text was updated successfully, but these errors were encountered: