标题 成功解决xxx.py: error: the following arguments are required: --model 例子 run.py: error: the following arguments are required: --model 在运行模型时,遇到以上问题,可以参考以下步骤: 1、 点击页面中 顶栏的“运行(run)” 2、 然后再点击“编辑配置(Edit Configurations”) 3、 在Parameters 中填写—model+ 所需要模型 我的就是–model TextCNN 4、最后点击 应用 确定就好了