You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
在 AnyQ/tools/simnet/train/paddle 目录下运行 sh run_train.sh,出现错误:
Traceback (most recent call last):
File "paddle_simnet.py", line 178, in<module>
train(conf_dict)
File "paddle_simnet.py", line 91, in train
main_program=fluid.default_main_program())
File "/usr/local/lib/python2.7/dist-packages/paddle/fluid/parallel_executor.py", line 155, in __init__
build_strategy, num_trainers, trainer_id)
RuntimeError: boost::bad_get: failed value get using boost::get
Paddle 版本信息:docker 安装的 paddlepaddle-gpu==0.14.0
在
AnyQ/tools/simnet/train/paddle
目录下运行sh run_train.sh
,出现错误:Solution:
因为错误发生在
fluid.ParallelExecutor
函数,我预计是因为 docker 的 Paddle 是单 GPU 运行的。然后修改把ParallelExecutor
相关的代码改成Executor
,如下:然后运行没问题了。供参考。
The text was updated successfully, but these errors were encountered: