Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
C
CNNTrainLang
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
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
Security & Compliance
Security & Compliance
Dependency List
License Compliance
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
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
monticore
EmbeddedMontiArc
languages
CNNTrainLang
Commits
efa8fea3
Commit
efa8fea3
authored
Mar 07, 2020
by
Julian Treiber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added metric loss accuracy_ignore_label
parent
98b470bc
Pipeline
#251083
canceled with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
src/main/grammars/de/monticore/lang/monticar/CNNTrain.mc4
src/main/grammars/de/monticore/lang/monticar/CNNTrain.mc4
+9
-5
src/main/java/de/monticore/lang/monticar/cnntrain/_cocos/ParameterAlgorithmMapping.java
...g/monticar/cnntrain/_cocos/ParameterAlgorithmMapping.java
+1
-0
No files found.
src/main/grammars/de/monticore/lang/monticar/CNNTrain.mc4
View file @
efa8fea3
...
@@ -61,7 +61,7 @@ grammar CNNTrain extends de.monticore.lang.monticar.Common2, de.monticore.Number
...
@@ -61,7 +61,7 @@ grammar CNNTrain extends de.monticore.lang.monticar.Common2, de.monticore.Number
interface
AccIgnoreLabelEntry
extends
Entry
;
interface
AccIgnoreLabelEntry
extends
Entry
;
AxisAccIgnoreLabelEntry
implements
AccIgnoreLabelEntry
=
name
:
"axis"
":"
value
:
IntegerValue
;
AxisAccIgnoreLabelEntry
implements
AccIgnoreLabelEntry
=
name
:
"axis"
":"
value
:
IntegerValue
;
IgnoreLabelAccIgnoreLabelEntry
implements
AccIgnoreLabelEntry
=
name
:
"ignore_label"
":"
value
:
IntegerValue
;
IgnoreLabelAccIgnoreLabelEntry
implements
AccIgnoreLabelEntry
=
name
:
"
metric_
ignore_label"
":"
value
:
IntegerValue
;
EvalTrainEntry
implements
ConfigEntry
=
name
:
"eval_train"
":"
value
:
BooleanValue
;
EvalTrainEntry
implements
ConfigEntry
=
name
:
"eval_train"
":"
value
:
BooleanValue
;
...
@@ -100,6 +100,9 @@ grammar CNNTrain extends de.monticore.lang.monticar.Common2, de.monticore.Number
...
@@ -100,6 +100,9 @@ grammar CNNTrain extends de.monticore.lang.monticar.Common2, de.monticore.Number
interface
DiceEntry
extends
Entry
;
interface
DiceEntry
extends
Entry
;
DiceLoss
implements
LossValue
=
name
:
"dice_loss"
(
"{"
params
:
DiceEntry
*
"}"
)?;
DiceLoss
implements
LossValue
=
name
:
"dice_loss"
(
"{"
params
:
DiceEntry
*
"}"
)?;
interface
SoftmaxCrossEntropyIgnoreLabelEntry
extends
Entry
;
SoftmaxCrossEntropyIgnoreLabelLoss
implements
LossValue
=
name
:
"softmax_cross_entropy_ignore_label"
(
"{"
params
:
SoftmaxCrossEntropyIgnoreLabelEntry
*
"}"
)?;
SigmoidBinaryCrossEntropyLoss
implements
LossValue
=
name
:
"sigmoid_binary_cross_entropy"
(
"{"
params
:
Entry
*
"}"
)?;
SigmoidBinaryCrossEntropyLoss
implements
LossValue
=
name
:
"sigmoid_binary_cross_entropy"
(
"{"
params
:
Entry
*
"}"
)?;
interface
HingeEntry
extends
Entry
;
interface
HingeEntry
extends
Entry
;
...
@@ -114,11 +117,12 @@ grammar CNNTrain extends de.monticore.lang.monticar.Common2, de.monticore.Number
...
@@ -114,11 +117,12 @@ grammar CNNTrain extends de.monticore.lang.monticar.Common2, de.monticore.Number
interface
KullbackLeiblerEntry
extends
Entry
;
interface
KullbackLeiblerEntry
extends
Entry
;
KullbackLeiblerLoss
implements
LossValue
=
name
:
"kullback_leibler"
(
"{"
params
:
KullbackLeiblerEntry
*
"}"
)?;
KullbackLeiblerLoss
implements
LossValue
=
name
:
"kullback_leibler"
(
"{"
params
:
KullbackLeiblerEntry
*
"}"
)?;
SparseLabelEntry
implements
CrossEntropyEntry
,
SoftmaxCrossEntropyEntry
,
SoftmaxCrossEntropyIgnoreIndicesEntry
,
DiceEntry
=
name
:
"sparse_label"
":"
value
:
BooleanValue
;
SparseLabelEntry
implements
CrossEntropyEntry
,
SoftmaxCrossEntropyEntry
,
SoftmaxCrossEntropyIgnoreIndicesEntry
,
DiceEntry
,
SoftmaxCrossEntropyIgnoreLabelEntry
=
name
:
"sparse_label"
":"
value
:
BooleanValue
;
FromLogitsEntry
implements
SoftmaxCrossEntropyEntry
,
SoftmaxCrossEntropyIgnoreIndicesEntry
,
KullbackLeiblerEntry
,
DiceEntry
=
name
:
"from_logits"
":"
value
:
BooleanValue
;
FromLogitsEntry
implements
SoftmaxCrossEntropyEntry
,
SoftmaxCrossEntropyIgnoreIndicesEntry
,
KullbackLeiblerEntry
,
DiceEntry
,
SoftmaxCrossEntropyIgnoreLabelEntry
=
name
:
"from_logits"
":"
value
:
BooleanValue
;
LossAxisEntry
implements
CrossEntropyEntry
,
SoftmaxCrossEntropyEntry
,
SoftmaxCrossEntropyIgnoreIndicesEntry
,
DiceEntry
=
name
:
"loss_axis"
":"
value
:
IntegerValue
;
LossAxisEntry
implements
CrossEntropyEntry
,
SoftmaxCrossEntropyEntry
,
SoftmaxCrossEntropyIgnoreIndicesEntry
,
DiceEntry
,
SoftmaxCrossEntropyIgnoreLabelEntry
=
name
:
"loss_axis"
":"
value
:
IntegerValue
;
BatchAxisEntry
implements
CrossEntropyEntry
,
SoftmaxCrossEntropyEntry
,
SoftmaxCrossEntropyIgnoreIndicesEntry
,
DiceEntry
=
name
:
"batch_axis"
":"
value
:
IntegerValue
;
BatchAxisEntry
implements
CrossEntropyEntry
,
SoftmaxCrossEntropyEntry
,
SoftmaxCrossEntropyIgnoreIndicesEntry
,
DiceEntry
,
SoftmaxCrossEntropyIgnoreLabelEntry
=
name
:
"batch_axis"
":"
value
:
IntegerValue
;
IgnoreIndicesEntry
implements
SoftmaxCrossEntropyIgnoreIndicesEntry
=
name
:
"ignore_indices"
":"
value
:
IntegerValue
;
IgnoreIndicesEntry
implements
SoftmaxCrossEntropyIgnoreIndicesEntry
=
name
:
"ignore_indices"
":"
value
:
IntegerValue
;
IgnoreLabelEntry
implements
SoftmaxCrossEntropyIgnoreLabelEntry
=
name
:
"loss_ignore_label"
":"
value
:
IntegerValue
;
MarginEntry
implements
HingeEntry
,
SquaredHingeEntry
=
name
:
"margin"
":"
value
:
NumberValue
;
MarginEntry
implements
HingeEntry
,
SquaredHingeEntry
=
name
:
"margin"
":"
value
:
NumberValue
;
LabelFormatEntry
implements
LogisticEntry
=
name
:
"label_format"
":"
value
:
StringValue
;
LabelFormatEntry
implements
LogisticEntry
=
name
:
"label_format"
":"
value
:
StringValue
;
...
...
src/main/java/de/monticore/lang/monticar/cnntrain/_cocos/ParameterAlgorithmMapping.java
View file @
efa8fea3
...
@@ -54,6 +54,7 @@ class ParameterAlgorithmMapping {
...
@@ -54,6 +54,7 @@ class ParameterAlgorithmMapping {
ASTBatchAxisEntry
.
class
,
ASTBatchAxisEntry
.
class
,
ASTFromLogitsEntry
.
class
,
ASTFromLogitsEntry
.
class
,
ASTIgnoreIndicesEntry
.
class
,
ASTIgnoreIndicesEntry
.
class
,
ASTIgnoreLabelEntry
.
class
,
ASTMarginEntry
.
class
,
ASTMarginEntry
.
class
,
ASTLabelFormatEntry
.
class
,
ASTLabelFormatEntry
.
class
,
ASTRhoEntry
.
class
,
ASTRhoEntry
.
class
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment