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 bro, I found that in get dataset, you set up format code is point = X, Y But in the point_tnf.py: Your code is:
def PointsToUnitCoords(P,im_size): h,w = im_size[:,0],im_size[:,1] P_norm = P.clone() # normalize Y P_norm[:,0,:] = normalize_axis(P[:,0,:],w.unsqueeze(1).expand_as(P[:,0,:])) # normalize X P_norm[:,1,:] = normalize_axis(P[:,1,:],h.unsqueeze(1).expand_as(P[:,1,:])) return P_norm
So, i have a quesion is that; P_norm[:,0,:] is x-axis and P_norm[:,1,:] is y-axis ?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi bro,
I found that in get dataset, you set up format code is point = X, Y
But in the point_tnf.py:
Your code is:
So, i have a quesion is that; P_norm[:,0,:] is x-axis and P_norm[:,1,:] is y-axis ?
The text was updated successfully, but these errors were encountered: