Skip to content

ValueError: operands could not be broadcast together with shapes (1,1024,2048) (1024,2048,4)  #141

@tangyipeng100

Description

@tangyipeng100

I used the command
CUDA_VISIBLE_DEVICES=0,1,2,3 python test.py --dataset citys --model danet --backbone resnet101 --resume models/DANet101.pth.tar --eval --base-size 2048 --crop-size 768 --workers 1 --multi-grid --multi-dilation 4 8 16 --os 8 --aux --no-deepstem
But I got a lot of ValueError like the title shows. And I got very low results:
pixAcc: 0.1265, mIoU: 0.0180

I referred to #12 and #120 to process Cityscapes and generated train_fine.txt,val_fine.txt,test_fine.txt. What`s wrong with me? Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions