脚本训练时使用两次export CUDA=0,1
收藏
在同一段脚本训练(八卡)时,第一次训练模型,使用了export CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7
第二次评估模型前,也使用了export CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7,但却报错了
Error Message Summary:
----------------------
Error: Place CUDAPlace(0) is not supported, Please check that your paddle compiles with WITH_GPU option or check that your train process hold the correct gpu_id if you use Executor at (/paddle/paddle/fluid/platform/device_context.cc:67)
请问在同一段脚本中模型训练后,该如何进行评估模型,将训练使用的GPU用来跑验证集
0
收藏
请登录后评论
看不懂................................................