haryoa / stif-indonesia

Implementation of "Semi-Supervised Low-Resource Style Transfer of Indonesian Informal to Formal Language with Iterative Forward-Translation".
MIT License
116 stars 10 forks source link

Error when try to run supervised/semi supervised experiment #11

Closed wandakinasih closed 3 years ago

wandakinasih commented 3 years ago

Hi!

I found error when trying to run supervised/semi supervised experiment TypeError: __init__() got an unexpected keyword argument 'capture_output'

Screen Shot 2020-11-24 at 13 47 27

Python 3.6.7 Linux 4.14.138+ x86_64

haryoa commented 3 years ago

Based on the stackoverflow answer, Python 3.6 does not support the capture_output argument in subprocess package. https://stackoverflow.com/questions/53209127/subprocess-unexpected-keyword-argument-capture-output/53209196

Use a newer version of Python (in our documentation, we test our system on Python 3.9)