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
Where does the variable 'points' define in the first line of function "find_dis()"? Thank you very much!
def find_dis(point): square = np.sum(pointpoints, axis=1) dis = np.sqrt(np.maximum(square[:, None] - 2np.matmul(point, point.T) + square[None, :], 0.0)) dis = np.mean(np.partition(dis, 3, axis=1)[:, 1:4], axis=1, keepdims=True) return dis
The text was updated successfully, but these errors were encountered:
@acrith2015
Bayesian-Crowd-Counting/preprocess_dataset.py
Lines 85 to 87 in c81c45d
It may be the output points of generate_data. So, here is the same as square = np.sum(point, point, axis=1)
points
generate_data
square = np.sum(point, point, axis=1)
Sorry, something went wrong.
No branches or pull requests
Where does the variable 'points' define in the first line of function "find_dis()"? Thank you very much!
def find_dis(point):
square = np.sum(pointpoints, axis=1)
dis = np.sqrt(np.maximum(square[:, None] - 2np.matmul(point, point.T) + square[None, :], 0.0))
dis = np.mean(np.partition(dis, 3, axis=1)[:, 1:4], axis=1, keepdims=True)
return dis
The text was updated successfully, but these errors were encountered: