We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Traceback (most recent call last): File "Main.py", line 9, in from utility.batch_test import * File "Model/utility/batch_test.py", line 42, in data_generator = KGAT_loader(args=args, path=args.data_path + args.dataset) File "Model/utility/loader_kgat.py", line 16, in init super().init(args, path) File "Model/utility/load_data.py", line 38, in init self.kg_data, self.kg_dict, self.relation_dict = self._load_kg(kg_file) File "Model/utility/load_data.py", line 81, in _load_kg kg_np = np.loadtxt(file_name, dtype=np.int32) File "/usr/local/lib/python3.7/dist-packages/numpy/lib/npyio.py", line 1092, in loadtxt first_line = next(fh) File "/usr/lib/python3.7/codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0x83 in position 11: invalid start byte
The text was updated successfully, but these errors were encountered:
hey, how did you resolve this issue?
Sorry, something went wrong.
No branches or pull requests
Traceback (most recent call last):
File "Main.py", line 9, in
from utility.batch_test import *
File "Model/utility/batch_test.py", line 42, in
data_generator = KGAT_loader(args=args, path=args.data_path + args.dataset)
File "Model/utility/loader_kgat.py", line 16, in init
super().init(args, path)
File "Model/utility/load_data.py", line 38, in init
self.kg_data, self.kg_dict, self.relation_dict = self._load_kg(kg_file)
File "Model/utility/load_data.py", line 81, in _load_kg
kg_np = np.loadtxt(file_name, dtype=np.int32)
File "/usr/local/lib/python3.7/dist-packages/numpy/lib/npyio.py", line 1092, in loadtxt
first_line = next(fh)
File "/usr/lib/python3.7/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x83 in position 11: invalid start byte
The text was updated successfully, but these errors were encountered: