Skip to content

TypeError: __init__() got an unexpected keyword argument 'unswap' #68

@rnlee1998

Description

@rnlee1998

when I run test.py , I got the error:TypeError: init() got an unexpected keyword argument 'unswap'
how can I solve the proplem?


Namespace(acc_report=False, backbone='resnet50', batch_size=16, crop_resolution=448, dataset='CUB', num_workers=16, resize_resolution=512, resume=None, save_suffix=None, swap_num=[7, 7], version='val')

Traceback (most recent call last):
File "e:/graduation_project/DCL-master/test.py", line 75, in test=True)

TypeError: init() got an unexpected keyword argument 'unswap'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions