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 working on WikiKG90Mv2 and after downloading the provided candidate file valid.pt file using the below code: def download_candidate_set(save_dir): valid_url = "https://snap.stanford.edu/smore/valid.pt" test_url = "https://snap.stanford.edu/smore/test.pt" if not os.path.exists(os.path.join(save_dir, "valid.pt")): url.download_url(valid_url, save_dir) if not os.path.exists(os.path.join(save_dir, "test.pt")): url.download_url(test_url, save_dir)
I am having trouble opening the valid.pt file using the provided code: all_data = torch.load(os.path.join(args.eval_path, "%s.pt" % phase))
The error reported is as followed: RuntimeError: [enforce fail at inline_container.cc:145] . PytorchStreamReader failed reading zip archive: failed finding central directory
and my environment is python3.6+pytorch1.7.0+cuda11.0.
Many thanks!
The text was updated successfully, but these errors were encountered:
I am working on WikiKG90Mv2 and after downloading the provided candidate file valid.pt file using the below code:
def download_candidate_set(save_dir): valid_url = "https://snap.stanford.edu/smore/valid.pt" test_url = "https://snap.stanford.edu/smore/test.pt" if not os.path.exists(os.path.join(save_dir, "valid.pt")): url.download_url(valid_url, save_dir) if not os.path.exists(os.path.join(save_dir, "test.pt")): url.download_url(test_url, save_dir)
I am having trouble opening the valid.pt file using the provided code:
all_data = torch.load(os.path.join(args.eval_path, "%s.pt" % phase))
The error reported is as followed:
RuntimeError: [enforce fail at inline_container.cc:145] . PytorchStreamReader failed reading zip archive: failed finding central directory
and my environment is python3.6+pytorch1.7.0+cuda11.0.
Many thanks!
The text was updated successfully, but these errors were encountered: