ConvE icon indicating copy to clipboard operation
ConvE copied to clipboard

where is evaluation{0}.py.txt

Open Lazy-poe opened this issue 5 years ago • 4 comments

Traceback (most recent call last): File "main.py", line 13, in from evaluation import ranking_and_hits File "D:\github\ConvE\evaluation.py", line 9, in log = Logger('evaluation{0}.py.txt'.format(datetime.datetime.now())) File "d:\github\conve\src\spodernet\spodernet\utils\logger.py", line 64, in init self.f = open(path, write_type) OSError: [Errno 22] Invalid argument: 'C:\Users\11840\.data\log_files\evaluation2019-12-25 23:46:51.964885.py.txt' Exception ignored in: <function Logger.del at 0x000002A0E5EE6CA8> Traceback (most recent call last): File "d:\github\conve\src\spodernet\spodernet\utils\logger.py", line 71, in del self.f.close() AttributeError: 'Logger' object has no attribute 'f' (py_37)

Lazy-poe avatar Dec 25 '19 15:12 Lazy-poe

I never tested my library with Windows and there seem to be some issues with that. Unfortunately, I do not have the time to look into this in detail. Would you have some time to debug it a little bit? Maybe I could help you to fix it and everyone would benefit from that.

TimDettmers avatar Dec 25 '19 17:12 TimDettmers

I will test these library later, thank for your supports.

Lazy-poe avatar Dec 26 '19 09:12 Lazy-poe

I would like to know about it as well. I am very pleased to hear from you on the question's comments. @TimDettmers @Lazy-poe

Bryan2Chow avatar Oct 28 '20 08:10 Bryan2Chow

I would like to know about it as well. I am very pleased to hear from you on the question's comments. @TimDettmers @Lazy-poe

I would like to know about the question on windows as well and I met the same errot as you. I sincerely need the help.

StarAx0519 avatar Oct 29 '22 06:10 StarAx0519