use torch.sum to calculate mask area based on image
enter image description hereI am using based on yolov7 to implement code. I calculate each mask area by using the torch.sum method. I found some of result is not right. In this image, red color rectangle “1.shape” is smaller than “4.shape”, “1.shape” value of value is bigger than “4.shape” of area value.
My code is as below:
RuntimeError: Distributed package doesn’t have NCCL built in
I am new to python and I can’t run the demo of this code.
https://github.com/12wang3/rrl
however I install every module that’s need to run.
when I run code below in Terminal with PyCharm, raise a “RuntimeError: Distributed package doesn’t have NCCL built in”