原始代码:

缺失的原因在于:data前没有加-

修改后的代码应为:

the following arguments are required: DIR相关推荐

  1. (理解和3种方法完全解决pycharm报错)main.py: error: the following arguments are required: -d/--dataset

    文章目录 背景 理解 完全解决 方法1 方法2 方法3 背景 很多人只说解决方案,却不说原因,遂有此篇. 在pycharm中直接运行如下代码main.py报错: import argparse if ...

  2. error: the following arguments are required: cfg_file

    error: the following arguments are required: cfg_file 这里一共列举4种情况: 1)参数前面没有加-- 2)参数没有加default值 3)没有这个 ...

  3. python3 运行argparse XX.py: error: the following arguments are required: N An exception has occurred,

    Spyder(python 3.6) 运行含argparse模块的程序 # max sum.py import argparseparser = argparse.ArgumentParser(des ...

  4. error: the following arguments are required: img, config, checkpoint

    目录 01问题描述 02 问题分析 ​03 解决方案 01问题描述 在验证mmdetection环境是否安装成功的时候,出现如下错误: error: the following arguments a ...

  5. main.py: error: the following arguments are required:

    报错 "main.py: error: the following arguments are required:" 1.首先查看报错信息 如图下图所示 main.py: erro ...

  6. error: the following arguments are required

    [1]usage: run_one_image.py [-h] [--use_cuda] [--use_cython]                         image_path templ ...

  7. “ error: the following arguments are required: --model, --data“解决办法

    "error: the following arguments are required: --model, --data"解决办法 问题描述 解决办法 问题描述 pycharm运 ...

  8. train.py: error: the following arguments are required: --config解决办法

    train.py: error: the following arguments are required: --config解决办法 最近在跑github上的深度学习开源项目,在导入项目运行trai ...

  9. error: the following arguments are required: --cfg

    先看错误代码: parser.add_argument('--cfg', type=str, required=True, metavar="FILE", help='path t ...

最新文章

  1. Layui Excle/csv数据导出
  2. 离开硅谷11年后总结出的4条经验教训
  3. 【转发】关于Java性能的9个谬论
  4. 扇出性 java_索引与算法
  5. when will ifm open?
  6. 一周学会Mootools 1.4中文教程:(7)汇总收尾
  7. 目前发展医疗物联网的困境解析
  8. IOS APP 上传到AppStore
  9. 锐起无盘系统菜鸟教程
  10. 数据库导出Excel乱码 解决
  11. Apache Impala 3.4.0 —— Admission Control and Query Queuing(动态资源池)实践
  12. iOS voip电话和sip软电话 --网络电话
  13. 服务器维护后灵魂兽刷新吗,魔兽世界lr灵魂兽捕捉方法 猎人宠物刷新坐标
  14. OWIN与Katana
  15. golang下文件锁的使用
  16. 人工智能门槛太高?用这个框架轻松入门深度学习!
  17. Python Matplotlib设置x轴与y轴相交于心仪的坐标点
  18. Java---设计模式app小软件汇总应用
  19. 身体传感器 android,小米人体传感器手机客户端-小米人体传感器app下载v4.3.11 安卓版-西西软件下载...
  20. 基础数据结构(二):字典树、并查集、堆、哈希表、字符串的哈希方式、STL的常见容器及其接口

热门文章

  1. begining...
  2. Elasticsearch通过Http请求实现查询操作
  3. 传者-送给创业的人们
  4. 数据结构课程设计 班级通讯录
  5. Java读取Excel文件汇总
  6. 你的朋友圈为什么刷不出来宝马的广告?之我感
  7. 基于PyTorch+HAN实现中文情感分类任务
  8. “带头大哥现象”看市场监管
  9. CloudEvents 核心规范
  10. NUIST LevOJ P1857 孤独摇滚