SystemExit: 2
victorchencai opened this issue · comments
你好,我想请问一下这个错误怎么解决
rpnet.py: error: the following arguments are required: -i/--images, -se/--start_epoch, -t/--test, -f/--folder
An exception has occurred, use %tb to see the full traceback.
SystemExit: 2
%tb
Traceback (most recent call last):
File "C:\Users\asus\Desktop\CCPD-master\CCPD-master\rpnet\rpnet.py", line 35, in
args = vars(ap.parse_args())
File "F:\anaconda\lib\argparse.py", line 1730, in parse_args
args, argv = self.parse_known_args(args, namespace)
File "F:\anaconda\lib\argparse.py", line 1762, in parse_known_args
namespace, args = self._parse_known_args(args, namespace)
File "F:\anaconda\lib\argparse.py", line 1997, in _parse_known_args
', '.join(required_actions))
File "F:\anaconda\lib\argparse.py", line 2389, in error
self.exit(2, _('%(prog)s: error: %(message)s\n') % args)
File "F:\anaconda\lib\argparse.py", line 2376, in exit
_sys.exit(status)
SystemExit: 2