wuliwuxin / CTransCNN

This repo is about multi-label medical image classification base on CNN and Transformer.
21 stars 2 forks source link

报错:kfold-cross-valid.py: error: the following arguments are required: config #1

Open appreciatehxy opened 8 months ago

appreciatehxy commented 8 months ago

config报错 这个错误是因为环境配置出了问题,还是代码有点问题啊,改了好久,没改出来 源代码:parser.add_argument('config', help='train config file path') parser.add_argument( '--num-splits', type=int, help='The number of all folds.') parser.add_argument( '--fold', type=int, help='The fold used to do validation. ' 'If specify, only do an experiment of the specified fold.')

是因为config前面和别的参数不一样,没加--吗,但我加上之后,还是报错