Skip to content
New issue

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

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

Open
tangyipeng100 opened this issue Oct 15, 2021 · 0 comments

Comments

@tangyipeng100
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant