Skip to content

使用train.py中遇到的错误 #9

@Kevin111369

Description

@Kevin111369

Traceback (most recent call last):
File "train.py", line 626, in
train() # train normally
File "train.py", line 431, in train
dataloader=testloader)
File "./yolov3-point-master/test.py", line 240, in test
ious[j] > iouv).cpu() # iou_thres is 1xn
RuntimeError: Index put requires the source and destination dtypes match, got Byte for the destination and Bool for the source.

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