-
Notifications
You must be signed in to change notification settings - Fork 34
Description
Hi Dear developer,
I got an error when procesing training data with TR0 data provided by MXfold2
$ python process_data_newdataset.py TR0
Traceback (most recent call last):
File "process_data_newdataset.py", line 69, in
pair_dict_all_list = [[int(item_tmp)-1,int(t2[1].split('\n')[index_tmp])-1] for index_tmp,item_tmp in enumerate(t1[1].split('\n')) if int(t2[1].split('\n')[index_tmp]) != 0]
File "process_data_newdataset.py", line 69, in
pair_dict_all_list = [[int(item_tmp)-1,int(t2[1].split('\n')[index_tmp])-1] for index_tmp,item_tmp in enumerate(t1[1].split('\n')) if int(t2[1].split('\n')[index_tmp]) != 0]
ValueError: invalid literal for int() with base 10: 'X'
Having no idea of what the data exactly look like , I feel confused with this problem. Could you please tell me how to fix it ? Thank you!