[Data generation] Fixed structure errors
Merge branch 'develop' of github.com:aurelien-defossez/pegasus-master into develop