Closed canercelik closed 5 years ago
I made the necessary installations. I have tensorflow, tensor2tensor, etc.
Whenever I try to run test, I get the result below :
running test running egg_info writing requirements to g2p_seq2seq.egg-info/requires.txt writing g2p_seq2seq.egg-info/PKG-INFO writing top-level names to g2p_seq2seq.egg-info/top_level.txt writing dependency_links to g2p_seq2seq.egg-info/dependency_links.txt writing entry points to g2p_seq2seq.egg-info/entry_points.txt reading manifest file 'g2p_seq2seq.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'g2p_seq2seq.egg-info/SOURCES.txt' running build_ext test_decode (tests.g2p_unittest.TestG2P) ... ERROR test_evaluate (tests.g2p_unittest.TestG2P) ... ERROR test_train (tests.g2p_unittest.TestG2P) ... ERROR ====================================================================== ERROR: test_decode (tests.g2p_unittest.TestG2P) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/mecnun/PranaGeo/Cpyromus/g2p-seq2seq/tests/g2p_unittest.py", line 34, in test_decode g2p_model = G2PModel(params, test_path=decode_file_path) File "/home/mecnun/PranaGeo/Cpyromus/g2p-seq2seq/g2p_seq2seq/g2p.py", line 89, in __init__ self.__prepare_model() File "/home/mecnun/PranaGeo/Cpyromus/g2p-seq2seq/g2p_seq2seq/g2p.py", line 102, in __prepare_model self.params) File "/home/mecnun/PranaGeo/Cpyromus/g2p-seq2seq/g2p_seq2seq/g2p_trainer_utils.py", line 230, in create_run_config use_tpu=params.use_tpu) TypeError: create_run_config() takes at least 1 argument (24 given) ====================================================================== ERROR: test_evaluate (tests.g2p_unittest.TestG2P) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/mecnun/PranaGeo/Cpyromus/g2p-seq2seq/tests/g2p_unittest.py", line 47, in test_evaluate g2p_model = G2PModel(params, test_path=gt_path) File "/home/mecnun/PranaGeo/Cpyromus/g2p-seq2seq/g2p_seq2seq/g2p.py", line 89, in __init__ self.__prepare_model() File "/home/mecnun/PranaGeo/Cpyromus/g2p-seq2seq/g2p_seq2seq/g2p.py", line 102, in __prepare_model self.params) File "/home/mecnun/PranaGeo/Cpyromus/g2p-seq2seq/g2p_seq2seq/g2p_trainer_utils.py", line 230, in create_run_config use_tpu=params.use_tpu) TypeError: create_run_config() takes at least 1 argument (24 given) ====================================================================== ERROR: test_train (tests.g2p_unittest.TestG2P) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/mecnun/PranaGeo/Cpyromus/g2p-seq2seq/tests/g2p_unittest.py", line 23, in test_train test_path=dev_path) File "/home/mecnun/PranaGeo/Cpyromus/g2p-seq2seq/g2p_seq2seq/g2p.py", line 77, in __init__ self.__prepare_model(train_mode=True) File "/home/mecnun/PranaGeo/Cpyromus/g2p-seq2seq/g2p_seq2seq/g2p.py", line 102, in __prepare_model self.params) File "/home/mecnun/PranaGeo/Cpyromus/g2p-seq2seq/g2p_seq2seq/g2p_trainer_utils.py", line 230, in create_run_config use_tpu=params.use_tpu) TypeError: create_run_config() takes at least 1 argument (24 given) ---------------------------------------------------------------------- Ran 3 tests in 0.005s FAILED (errors=3)
I have the same problem. Any suggestions?
Same as https://github.com/cmusphinx/g2p-seq2seq/issues/158
I made the necessary installations. I have tensorflow, tensor2tensor, etc.
Whenever I try to run test, I get the result below :