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, when I read you code , it make me refused here, in the the LIstNet loss function:
def get_loss(self, x_t, y_t): # ---- start loss calculation ---- ... p_true = F.softmax(F.reshape(y_t,(y_t.shape[0],y_t.shape[1]))) xm = F.max(pred,axis=1,keepdims = True) logsumexp = F.logsumexp(pred,axis=1) logsumexp = F.broadcast_to(logsumexp,(xm.shape[0],pred.shape[1])) loss = -1 * F.sum( p_true * (pred - logsumexp) ) ...
here use p_true * (red- logsumexp), why do like this, you are exactly not follow the paper to compute the loss function right?
The text was updated successfully, but these errors were encountered:
HI, when I read you code , it make me refused here, in the the LIstNet loss function: def get_loss(self, x_t, y_t): # ---- start loss calculation ---- ... p_true = F.softmax(F.reshape(y_t,(y_t.shape[0],y_t.shape[1]))) xm = F.max(pred,axis=1,keepdims = True) logsumexp = F.logsumexp(pred,axis=1) logsumexp = F.broadcast_to(logsumexp,(xm.shape[0],pred.shape[1])) loss = -1 * F.sum( p_true * (pred - logsumexp) ) ... here use p_true * (red- logsumexp), why do like this, you are exactly not follow the paper to compute the loss function right?
But why do you calculate the loss function in this way? is that work well?
Sorry, something went wrong.
No branches or pull requests
HI, when I read you code , it make me refused here, in the the LIstNet loss function:
here use p_true * (red- logsumexp), why do like this, you are exactly not follow the paper to compute the loss function right?
The text was updated successfully, but these errors were encountered: