We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi Qihang,
I have a question about uncertainty region computation. Why is pred<[1/255.0] as the uncertain region? How do you choose this value?
def get_unknown_tensor_from_pred(pred, rand_width=30, train_mode=True): ### pred: N, 1 ,H, W N, C, H, W = pred.shape
pred = pred.data.cpu().numpy() uncertain_area = np.ones_like(pred, dtype=np.uint8) uncertain_area[pred<1.0/255.0] = 0 uncertain_area[pred>1-1.0/255.0] = 0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi Qihang,
I have a question about uncertainty region computation. Why is pred<[1/255.0] as the uncertain region? How do you choose this value?
def get_unknown_tensor_from_pred(pred, rand_width=30, train_mode=True):
### pred: N, 1 ,H, W
N, C, H, W = pred.shape
The text was updated successfully, but these errors were encountered: