Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

where is evaluation{0}.py.txt #56

Open
Lazy-poe opened this issue Dec 25, 2019 · 4 comments
Open

where is evaluation{0}.py.txt #56

Lazy-poe opened this issue Dec 25, 2019 · 4 comments
Assignees

Comments

@Lazy-poe
Copy link

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)

@TimDettmers TimDettmers self-assigned this Dec 25, 2019
@TimDettmers
Copy link
Owner

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.

@Lazy-poe
Copy link
Author

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

@Bryan2Chow
Copy link

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

@StarAx0519
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants