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 tried to replicate the data using ./create_datasets.sh but I received the following error:
File "/UDSMProt/code/utils/dataset_utils.py", line 268, in prepare_dataset
tok_num = np.array([[tok_stoi[o] for o in p] for p in tok])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (556825,) + inhomogeneous part.
Could you please help me how I can fix it. Thanks
The text was updated successfully, but these errors were encountered:
Hi,
I tried to replicate the data using ./create_datasets.sh but I received the following error:
File "/UDSMProt/code/utils/dataset_utils.py", line 268, in prepare_dataset
tok_num = np.array([[tok_stoi[o] for o in p] for p in tok])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (556825,) + inhomogeneous part.
Could you please help me how I can fix it. Thanks
The text was updated successfully, but these errors were encountered: