ConvE
ConvE copied to clipboard
AttributeError: 'Logger' object has no attribute 'f'
Traceback (most recent call last):
File "main.py", line 13, in
hello,
how did you fix the problem?
Hope to hear from you soon.
I would like to know about it as well
This seems to be a Windows related problem. There is no HOME variable in the path that points to the folder where the data is stored. This is just a poor implementation on my side. You can try to replace the path. Otherwise, I might have a look at this after a deadline that I am having in two weeks to fix this.
Yes, I did sense it to be Windows problem, will check it out by changing the path
i used 'windir' instead of 'HOME' but still didn't work, if any one interested to try
change 'HOME' to 'HOMEPATH', then it can run in windows
the format used here to save the evaluation file is problematic for windows , in addition to changing 'HOME' TO 'HOMEPATH', you should change the name of the evaluation log file.
the format used here to save the evaluation file is problematic for windows , in addition to changing 'HOME' TO 'HOMEPATH', you should change the name of the evaluation log file.
Hello, may I ask you that what does " change the name of the evaluation log file." mean???
sorry it is the first time I am responding to something in github so maybe I wasn't clear , in file evaluation.py in line 9 when you call the init for logger you need to give it a name to save the log file as, however the way it was first written with the date inside causes issues inside windows with the os system calls.
Traceback (most recent call last):
File "D:/研究生文献/知识图谱/KGC/Embedding-based模型/SACN/SACN-master/main.py", line 13, in
Process finished with exit code 1
Excuse me, what is this question