AttributeError: ‘Namespace‘ object has no attribute ‘work_in_stylespace‘

在对应的配置文件中,加入下面这行

parser.add_argument("--work_in_stylespace", type=bool, default=False)

根据提示的报错信息,找到对应 work_in_stylespace 的调用语句,判断其为bool类型。

猜你喜欢

转载自blog.csdn.net/weixin_43488159/article/details/129256918
今日推荐