Comments (10)
Thank you for your patience,I have solve the problem
from cropandweed-dataset.
usage: map_dataset.py [-h] [--bboxes BBOXES] [--labelids LABELIDS]
[--dataset_source DATASET_SOURCE] --dataset_target
DATASET_TARGET
map_dataset.py: error: the following arguments are required: --dataset_target
请问def parse_arguments():
parser = argparse.ArgumentParser(description='map annotated classes between datasets')
parser.add_argument('--bboxes', type=str, default='../data/bboxes',
help='directory for input and output bounding-box annotations as csv files in sub-directories '
'for each target_dataset variant')
parser.add_argument('--labelids', type=str, default='../data/labelIds',
help='source directory for input and output semantic masks as single-channel png images '
'in sub-directories for each target_dataset variant')
parser.add_argument('--dataset_source', type=str, default='CropAndWeed', help='name of source target_dataset')
parser.add_argument('--dataset_target', type=str, default='target_dataset', required=True, help='name of target target_dataset')
return parser.parse_args()能否举个例子
from cropandweed-dataset.
除了在github上下载的代码和setup.py下载数据集,还要下载什么才能跑这个实验
from cropandweed-dataset.
As indicated by the error message, you have to set the argument '--dataset_target'. For a usage example and further information please see section "Dataset Variants" in the Readme.
from cropandweed-dataset.
Thankyou,我是一个新手,请问自述文件中的“数据集变体”中预定义的变体 CropsOrWeed9是需要自己新建一个名为 CropsOrWeed9的空文件夹吗
from cropandweed-dataset.
All required directories should be created automatically.
from cropandweed-dataset.
def parse_arguments():
parser = argparse.ArgumentParser(description='map annotated classes between datasets')
parser.add_argument('--bboxes', type=str, default='../data/bboxes',
help='directory for input and output bounding-box annotations as csv files in sub-directories '
'for each target_dataset variant')
parser.add_argument('--labelids', type=str, default='../data/labelIds',
help='source directory for input and output semantic masks as single-channel png images '
'in sub-directories for each target_dataset variant')
parser.add_argument('--dataset_source', type=str, default='CropAndWeed', help='name of source target_dataset')
parser.add_argument('--dataset_target', type=str, default='CropOrWeed9', required=True, help='name of target target_dataset')
return parser.parse_args()
这里你可以展示你是怎么设置参数的吗,谢谢
from cropandweed-dataset.
You don't have to change the source code and I would recommend to download the original script again. Just add --dataset_target CropOrWeed9 when calling the script.
from cropandweed-dataset.
是的,我重新下载了脚本,只是添加了parser.add_argument('--dataset_target', type=str, default='CropOrWeed9', required=True, help='name of target dataset')
但是还是报错map_dataset.py: error: the following arguments are required: --dataset_target
from cropandweed-dataset.
You don't have to edit the source code - just call the script like the example in the Readme.
map_dataset.py --dataset_target CropsOrWeed9
from cropandweed-dataset.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cropandweed-dataset.