Open chsuong opened 5 years ago
It does, see this function: https://github.com/CogComp/zoe/blob/master/main.py#L79
Thanks for your answer!
Unfortunately, I tried to open the runlog file, which I presumed would save the experiment results. But I'm having trouble doing so and get the error ModuleNotFoundError: No module named 'zoe_utils'
. Any idea why and how to resolve this? The file (2.9M) does exist.
`import pickle import io infile = open('/Users/chsuong/zoe/data/log/runlog_figer.pickle','rb') new_dict = pickle.load(infile)
infile.close()
print(new_dict)
ModuleNotFoundError Traceback (most recent call last)
Sorry about the late reply. One possible explanation is that you need to import the modules here https://github.com/CogComp/zoe/blob/master/main.py#L5-L9, because the objects in the pickle file rely on the data structures.
Thank you! It worked.
Is there any way to view the runlog file in a human-readable form? Below was the output I got:
Ah sorry, I forgot to reply. There are no built-in methods for that, but it should be fairly easy to print whatever actual contents are there. All data are stored as a Sentence object, which you can find in zoe_utils.py.
Does the system save the results of the experiments? Is the terminal output the only output?