脚本训练时使用两次export CUDA=0,1
收藏
快速回复
AI Studio平台使用 其他Notebook项目其他 960 1
脚本训练时使用两次export CUDA=0,1
收藏
快速回复
AI Studio平台使用 其他Notebook项目其他 960 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
收藏
回复
全部评论(1)
时间顺序
AIStudio810261
#2 回复于2020-11

看不懂................................................

0
回复
在@后输入用户全名并按空格结束,可艾特全站任一用户