Skip to content

GitLab

  • Menu
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
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • 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
  • EmbeddedMontiArc
  • generators
  • CNNArch2Caffe2
  • Merge requests
  • !22

Merged
Created Feb 16, 2019 by Carlos Alfredo Yeverino Rodriguez@carlos.alfredo.yeverinoContributor

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

  • 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
Reviewer
Request review from
Time tracking
Source branch: process_loss_parameter