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
File "/home/stardog/bench_data/freebase/fix_freebase_literal_format.py", line 28, in <module>
subj, pred, obj, rest = line.split("\t")
~~~~~~~~~~^^^^^^
TypeError: a bytes-like object is required, not 'str'
gzip.open() was causing:
Fix is to change "r" mode to "rt" mode.