OpenNMT Forum

AssertionError: -shuffle is not implemented

opennmt-py

(Fermat97) #1

When I active the shuffle option for preprocessing the data I get

AssertionError: -shuffle is not implemented. Please shuffle your data before pre-processing.

I would like to shuffle my data before producing the shards of data. Do you have any idea about this error?


(Vincent Nguyen) #2

it’s not really an error, just saying it is not implemented and you have to do it with another script, either in bash or python.


you need to read existing issues / posts, it really helps.