Closed maoyingmy closed 2 years ago
Hi, I'll follow the issue since I've the same problem.
Hello, The code has been fixed now, and we pushed the latest changes. Please choose the correct paths, and it shall work. Thank you. The best values reported on datasets can be reproduced.
firstly thanks for your sharing. I'm having some problems running the code. as follows:
FileNotFoundError: [Errno 2] No such file or directory: '../data/WikipediaWikidataDistantSupervisionAnnotations.v1.0/2hop.pickle'_**
The corresponding code in the project:
args.add_argument("-g1hop", "--get_1hop", type=bool, default=False)
if(args.use_2hop): print("Opening node_neighbors pickle object") file = args.data + "/2hop.pickle" with open(file, 'rb') as handle: node_neighbors_2hop = pickle.load(handle) file = args.data + "/2hop_test.pickle" with open(file, 'rb') as handle: node_neighbors_2hoptest = pickle.load(handle) Corpus.node_neighbors_2hop = node_neighbors2hop Corpus.node_neighbors_2hop_test = node_neighbors_2hop_test
I don't know how to generate the corresponding file???????