DCL icon indicating copy to clipboard operation
DCL copied to clipboard

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

Open rnlee1998 opened this issue 3 years ago • 0 comments

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'

rnlee1998 avatar Apr 23 '21 03:04 rnlee1998