利用fleet用executor.train_from_dataset进行训练时报错(GPU)
Created by: phoeny29
问题报错信息如下: Traceback (most recent call last): File "dist_train.py", line 100, in train() File "dist_train.py", line 87, in train debug=False) File "/opt/_internal/cpython-2.7.11-ucs4/lib/python2.7/site-packages/paddle/fluid/executor.py", line 1166, in train_from_dataset print_period, fetch_handler) File "/opt/_internal/cpython-2.7.11-ucs4/lib/python2.7/site-packages/paddle/fluid/executor.py", line 993, in _run_from_dataset if program._pipeline_opt: AttributeError: 'CompiledProgram' object has no attribute '_pipeline_opt'
看了下源代码,似乎fleet会传一个CompiledProgram到executor。但是CompiledProgram对象没有__pipeline_opt?