fix loss info and typo (Closes GH-22).
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
* Loss function
|
||||
> * Args
|
||||
> * type: Loss function type, support `TripletLoss` and `CrossEntropyLoss`.
|
||||
> * loss_term_weights: loss weight.
|
||||
> * loss_term_weight: loss weight.
|
||||
> * log_prefix: the prefix of loss log.
|
||||
|
||||
----
|
||||
@@ -107,11 +107,11 @@ evaluator_cfg:
|
||||
img_w: 64
|
||||
|
||||
loss_cfg:
|
||||
- loss_term_weights: 1.0
|
||||
- loss_term_weight: 1.0
|
||||
margin: 0.2
|
||||
type: TripletLoss
|
||||
log_prefix: triplet
|
||||
- loss_term_weights: 0.1
|
||||
- loss_term_weight: 0.1
|
||||
scale: 16
|
||||
type: CrossEntropyLoss
|
||||
log_prefix: softmax
|
||||
|
||||
Reference in New Issue
Block a user