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 follow the Readme file ,download the preproccessed data graph_CS.pk file and run the command 'python train_author_disambiguation.py' successfully.However , console reports as follows:
Traceback (most recent call last):
File "C:\Users\wmmsl\Documents\DDI\pyHGT\OAG\train_author_disambiguation.py", line 72, in
graph = renamed_load(open(args.data_dir + '/graph%s.pk' % args.domain, 'rb'))
File "C:\Users\wmmsl\Documents\DDI\pyHGT\OAG\pyHGT\data.py", line 269, in renamed_load
return RenameUnpickler(file_obj).load()
File "C:\Users\wmmsl\miniconda3\lib\site-packages\dill_dill.py", line 525, in load
obj = StockUnpickler.load(self)
TypeError: an integer is required (got type bytes)
it seems that data.py can not load the .pk file and why it has to be renamed?May I know why and how to solve this issue?Thanks.
The text was updated successfully, but these errors were encountered:
I follow the Readme file ,download the preproccessed data graph_CS.pk file and run the command 'python train_author_disambiguation.py' successfully.However , console reports as follows:
Traceback (most recent call last):
File "C:\Users\wmmsl\Documents\DDI\pyHGT\OAG\train_author_disambiguation.py", line 72, in
graph = renamed_load(open(args.data_dir + '/graph%s.pk' % args.domain, 'rb'))
File "C:\Users\wmmsl\Documents\DDI\pyHGT\OAG\pyHGT\data.py", line 269, in renamed_load
return RenameUnpickler(file_obj).load()
File "C:\Users\wmmsl\miniconda3\lib\site-packages\dill_dill.py", line 525, in load
obj = StockUnpickler.load(self)
TypeError: an integer is required (got type bytes)
it seems that data.py can not load the .pk file and why it has to be renamed?May I know why and how to solve this issue?Thanks.
The text was updated successfully, but these errors were encountered: