Hi,
I am failing at generating sentences for the principle_A_c_command BLIMP paradigm.
When running the following command : python -m generation_projects.blimp.principle_A_c_command , the generation generally stops after generating a few hundred of sentences (I suspect it might be stuck in a while loop).
Is anyone able to reproduce this error?
The following warning also appears, but I am not sure it is related to the issue above.
DEBUG:root: File "data_generation/utils/data_generator.py", line 81, in generate_paradigm
new_data, track_sentence = self.sample()
File "data_generation/generation_projects/blimp/principle_A_c_command.py", line 34, in sample
refl_mismatch = choice(get_matched_by(N2, "arg_1", all_reflexives))
File "data_generation/utils/randomize.py", line 18, in choice
return random.choice(np.setdiff1d(set, avoid))
File "<path_to_python>/python3.8/random.py", line 290, in choice
raise IndexError('Cannot choose from an empty sequence') from None
Cannot choose from an empty sequence
Thank you,
Hi,
I am failing at generating sentences for the principle_A_c_command BLIMP paradigm.
When running the following command :
python -m generation_projects.blimp.principle_A_c_command, the generation generally stops after generating a few hundred of sentences (I suspect it might be stuck in a while loop).Is anyone able to reproduce this error?
The following warning also appears, but I am not sure it is related to the issue above.
Thank you,