-
Notifications
You must be signed in to change notification settings - Fork 5
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
Facing Issue while constructing the KG. #3
Comments
Hey @ruthjohnson95, Thanks & Regards, |
Hi @bphariharan, thank you for bringing this to our attention. It's on the top of our list of items once the holiday break is over. I appreciate your patience! |
accidentally closed this-- reopening |
For the unpickling error, the file is a DGL graph object so it needs to be read using
Also see https://docs.dgl.ai/en/1.1.x/generated/dgl.graph.html |
For the first error, it looks like the
Let us know if this resolves the errors. We are glad you are enjoying the software. |
Hi @ruthjohnson95, The unpickling error has been resolved when loading the graph using Apart from this I have a couple of more queries:-
Thanks & Regards, |
Hey @ruthjohnson95 , Please let me know if you've any updates for us. |
Hi @bphariharan, Can you provide a screenshot of the dataframe after you do
|
Hi @ruthjohnson95 , Thank you for the reply. Sure, I will provide you the screenshot of
While going through the the CSV provided I found that there are some exception cases where the CPT Codes are more than 5 digits. Assuming, that these are the list of nodes, is there any reason as to why these exceptions? Thanks & Regards, |
Hello Team,
We've gone through the repository source code and we really liked it. We tried executing your
construct_kg.ipynb
but, we encountered an issue.At this line of
construct_kg.ipynb
:-edge_df = new_df.merge(new_node_df.loc[new_node_df['node_source']=='PHECODE'], left_on='x_id', right_on='node_id', how='left')
We're also trying to
new_homo_hg_hms.pt
from the Harvard Dataverse provided here. Which gave us the errorUnpicklingError: invalid load key, '?'.
It would be great if you could help us possible solution and/or workaround for this matter so, that we can continue to use it.I tried running the .pt file using
torch.load(<file_path>)
andwith open("C:/Users/admin/Downloads/new_homo_hg_hms.pt", 'rb') as file: data = pickle.Unpickler(file,fix_imports=True, encoding='ASCII', errors='strict', buffers=None,).load()
I'm also attaching the necessary screenshots for your reference. Do let me know if you need any other information.
construct_kg.ipynb
Error.Unpickling Error:
Thanks & Regards,
The text was updated successfully, but these errors were encountered: