Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
C
CNNArch2Caffe2
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 0
    • Merge Requests 0
  • Requirements
    • Requirements
    • List
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • 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
None
Milestone
None
Assign milestone
Time tracking
Source branch: process_loss_parameter