Python3:An exception has occurred, use %tb to see the full traceback.

问题:main.py: error: the following arguments are required: --data-dir, --scenario, -b/–batch-size, -j/–workers An exception has occurred, use %tb to see the full traceback.

解决方案

使用%tb追踪结果为:
Python3:An exception has occurred, use %tb to see the full traceback.控制台提示–data-dir, --scenario, -b/–batch-size, -j/–workers 这些参数在主函数中必须输入,最终追踪在argparse.py文件

解决方案

Python3:An exception has occurred, use %tb to see the full traceback.将其中的required = true 删除
Python3:An exception has occurred, use %tb to see the full traceback.