Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • C CNNArch2Caffe2
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • monticore
  • EmbeddedMontiArcEmbeddedMontiArc
  • generators
  • CNNArch2Caffe2
  • Merge requests
  • !22

Processed loss parameter and set default value based on the last layer of the network architecture

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Carlos Alfredo Yeverino Rodriguez requested to merge process_loss_parameter into master Feb 16, 2019
  • Overview 0
  • Commits 3
  • Pipelines 3
  • Changes 9

The loss default value is set based on the last layer of the network architecture. It is cross-entropy loss for a softmax or sigmoid layer and euclidean/squared loss for all other cases. This is achieved by changing the loss default value in the train function from the CNNCreator. All available loss functions should be provided in the CNNCreator as previously agreed in the DL Seminar.

The user has the possibility to specify a different loss function from the default value by providing the loss parameter in the training configuration file using CNNTrain. The explicitly given loss is then stored in the CNNTrainer which overrides the default value by calling the train function. In this way, more combinations are possible such as Sigmoid-Euclidean.

Edited Feb 16, 2019 by Carlos Alfredo Yeverino Rodriguez
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: process_loss_parameter