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
Hello, thanks a lot for your great work. When I run probe_classifier.py. There are some errors:
File "probe_classifier.py", line 205, in
train_X, train_y, dev_X, dev_y, test_X, test_y, feat_dim, num_classes, cat2id, id2cat = load_data()
File "probe_classifier.py", line 35, in load_data
feat_jsonl = json.loads(feat_jsonl)
File "/home/fang/anaconda3/envs/probe_env/lib/python3.8/json/init.py", line 357, in loads
return _default_decoder.decode(s)
File "/home/fang/anaconda3/envs/probe_env/lib/python3.8/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/home/fang/anaconda3/envs/probe_env/lib/python3.8/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
And I have no idea how to fix it.
The text was updated successfully, but these errors were encountered:
Hello, thanks a lot for your great work. When I run probe_classifier.py. There are some errors:
File "probe_classifier.py", line 205, in
train_X, train_y, dev_X, dev_y, test_X, test_y, feat_dim, num_classes, cat2id, id2cat = load_data()
File "probe_classifier.py", line 35, in load_data
feat_jsonl = json.loads(feat_jsonl)
File "/home/fang/anaconda3/envs/probe_env/lib/python3.8/json/init.py", line 357, in loads
return _default_decoder.decode(s)
File "/home/fang/anaconda3/envs/probe_env/lib/python3.8/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/home/fang/anaconda3/envs/probe_env/lib/python3.8/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
And I have no idea how to fix it.
The text was updated successfully, but these errors were encountered: