the following arguments are required: DIR
原始代码:
缺失的原因在于:data前没有加-
修改后的代码应为:
the following arguments are required: DIR相关推荐
- (理解和3种方法完全解决pycharm报错)main.py: error: the following arguments are required: -d/--dataset
文章目录 背景 理解 完全解决 方法1 方法2 方法3 背景 很多人只说解决方案,却不说原因,遂有此篇. 在pycharm中直接运行如下代码main.py报错: import argparse if ...
- error: the following arguments are required: cfg_file
error: the following arguments are required: cfg_file 这里一共列举4种情况: 1)参数前面没有加-- 2)参数没有加default值 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 ...
- error: the following arguments are required: img, config, checkpoint
目录 01问题描述 02 问题分析 03 解决方案 01问题描述 在验证mmdetection环境是否安装成功的时候,出现如下错误: error: the following arguments a ...
- main.py: error: the following arguments are required:
报错 "main.py: error: the following arguments are required:" 1.首先查看报错信息 如图下图所示 main.py: erro ...
- error: the following arguments are required
[1]usage: run_one_image.py [-h] [--use_cuda] [--use_cython] image_path templ ...
- “ error: the following arguments are required: --model, --data“解决办法
"error: the following arguments are required: --model, --data"解决办法 问题描述 解决办法 问题描述 pycharm运 ...
- train.py: error: the following arguments are required: --config解决办法
train.py: error: the following arguments are required: --config解决办法 最近在跑github上的深度学习开源项目,在导入项目运行trai ...
- error: the following arguments are required: --cfg
先看错误代码: parser.add_argument('--cfg', type=str, required=True, metavar="FILE", help='path t ...
最新文章
- Layui Excle/csv数据导出
- 离开硅谷11年后总结出的4条经验教训
- 【转发】关于Java性能的9个谬论
- 扇出性 java_索引与算法
- when will ifm open?
- 一周学会Mootools 1.4中文教程:(7)汇总收尾
- 目前发展医疗物联网的困境解析
- IOS APP 上传到AppStore
- 锐起无盘系统菜鸟教程
- 数据库导出Excel乱码 解决
- Apache Impala 3.4.0 —— Admission Control and Query Queuing(动态资源池)实践
- iOS voip电话和sip软电话 --网络电话
- 服务器维护后灵魂兽刷新吗,魔兽世界lr灵魂兽捕捉方法 猎人宠物刷新坐标
- OWIN与Katana
- golang下文件锁的使用
- 人工智能门槛太高?用这个框架轻松入门深度学习!
- Python Matplotlib设置x轴与y轴相交于心仪的坐标点
- Java---设计模式app小软件汇总应用
- 身体传感器 android,小米人体传感器手机客户端-小米人体传感器app下载v4.3.11 安卓版-西西软件下载...
- 基础数据结构(二):字典树、并查集、堆、哈希表、字符串的哈希方式、STL的常见容器及其接口