We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
您好,感谢您出色的工作。运行代码时报错TypeError: LoadAnnotations3D: init() got an unexpected keyword argument 'with_tokens'
config中LoadAnnotations3D有with_tokens参数,而对应版本的mmdet3d中的LoadAnnotations3D没有这个参数,我的mmdet和mmdet3d是按照MMDetection==2.14.0,MMDetection3D==0.17.2配置的。 所以会报错TypeError: LoadAnnotations3D: init() got an unexpected keyword argument 'with_tokens',所以这个参数是多余的吗?或者是mmdet3d要选择另外的版本呢? 期待您的回复。
@PIPELINES.register_module()
class LoadAnnotations3D(LoadAnnotations):
def __init__(self, with_bbox_3d=True, with_label_3d=True, with_attr_label=False, with_mask_3d=False, with_seg_3d=False, with_bbox=False, with_label=False, with_mask=False, with_seg=False, with_bbox_depth=False, poly2mask=True, seg_3d_dtype='int', file_client_args=dict(backend='disk')): super().__init__( with_bbox, with_label, with_mask, with_seg, poly2mask, file_client_args=file_client_args) self.with_bbox_3d = with_bbox_3d self.with_bbox_depth = with_bbox_depth self.with_label_3d = with_label_3d self.with_attr_label = with_attr_label self.with_mask_3d = with_mask_3d self.with_seg_3d = with_seg_3d self.seg_3d_dtype = seg_3d_dtype
The text was updated successfully, but these errors were encountered:
No branches or pull requests
您好,感谢您出色的工作。运行代码时报错TypeError: LoadAnnotations3D: init() got an unexpected keyword argument 'with_tokens'
config中LoadAnnotations3D有with_tokens参数,而对应版本的mmdet3d中的LoadAnnotations3D没有这个参数,我的mmdet和mmdet3d是按照MMDetection==2.14.0,MMDetection3D==0.17.2配置的。
所以会报错TypeError: LoadAnnotations3D: init() got an unexpected keyword argument 'with_tokens',所以这个参数是多余的吗?或者是mmdet3d要选择另外的版本呢?
期待您的回复。
@PIPELINES.register_module()
class LoadAnnotations3D(LoadAnnotations):
The text was updated successfully, but these errors were encountered: