Skip to content
New issue

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

Loss layer calculation #16

Open
aurotripathy opened this issue Aug 4, 2016 · 0 comments
Open

Loss layer calculation #16

aurotripathy opened this issue Aug 4, 2016 · 0 comments

Comments

@aurotripathy
Copy link

aurotripathy commented Aug 4, 2016

Hi Junhyuk, your training regime learns fine.

Can you please shed some light on how the loss is calculated.

Is it calculated based on the output of a single label value or the entire 320 label values?

I ask because the ip1 layer has num_output as 1 (shown below)

Thank you.

layer {
  name: "ip1"
  type: "InnerProduct"
  bottom: "lstm1"
  top: "ip1"

  inner_product_param {
    num_output: 1
    weight_filler {
      type: "gaussian"
      std: 0.1
    }
    bias_filler {
      type: "constant"
    }
  }
}
layer {
  name: "loss"
  type: "EuclideanLoss"
  bottom: "ip1"
  bottom: "label"
  top: "loss"
  include: { phase: TRAIN }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant