This repository was archived by the owner on Nov 17, 2023. It is now read-only.
Commit effbb8b
Changes to mxnet.metric (#18083)
* finish 5 changes
* move metric.py to gluon, replace mx.metric with mx.gluon.metric in python/mxnet/
* fix importError
* replace mx.metric with mx.gluon.metric in tests/python
* remove global support
* remove macro support
* rewrite BinaryAccuracy
* extend F1 to multiclass/multilabel
* add tests for new F1, remove global tests
* use mxnet.numpy instead of numpy
* fix sanity
* rewrite ce and ppl, improve some details
* use mxnet.numpy.float64
* remove sklearn
* remove reset_local() and get_global in other files
* fix test_mlp
* replace mx.metric with mx.gluon.metric in example
* fix context difference
* Disable -DUSE_TVM_OP on GPU builds
* Fix disable tvm op for gpu runs
* use label.ctx in metric.py; remove gluoncv dependency in test_cvnets
* fix sanity
* fix importError
* remove nose
Co-authored-by: Ubuntu <[email protected]>
Co-authored-by: Leonard Lausen <[email protected]>1 parent b4c70eb commit effbb8b
File tree
95 files changed
+938
-867
lines changed- benchmark/python/sparse
- example
- adversary
- autoencoder/variational_autoencoder
- caffe
- capsnet
- ctc
- deep-embedded-clustering
- distributed_training-horovod
- distributed_training
- fcn-xs
- gluon
- audio/urban_sounds
- dc_gan
- mnist
- sn_gan
- super_resolution
- tree_lstm
- image-classification
- common
- kaggle-ndsb2
- model-parallel/matrix_factorization
- module
- multi-task
- multivariate_time_series/src
- named_entity_recognition/src
- nce-loss
- neural_collaborative_filtering
- quantization
- rcnn
- symnet
- rnn
- bucketing
- old
- sparse
- factorization_machine
- linear_classification
- matrix_factorization
- wide_deep
- speech_recognition
- ssd
- evaluate
- train
- svm_mnist
- svrg_module
- api_usage_example
- benchmarks
- linear_regression
- vae-gan
- python/mxnet
- contrib/svrg_optimization
- gluon
- contrib
- data
- vision
- transforms/bbox
- estimator
- nn
- data
- vision
- nn
- module
- tests
- nightly
- estimator
- python
- gpu
- tensorrt
- train
- unittest
- tools/caffe_converter
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
95 files changed
+938
-867
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
228 | | - | |
| 228 | + | |
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
| 171 | + | |
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
| 226 | + | |
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | | - | |
| 259 | + | |
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
610 | 610 | | |
611 | 611 | | |
612 | 612 | | |
613 | | - | |
| 613 | + | |
614 | 614 | | |
615 | 615 | | |
616 | 616 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
144 | 144 | | |
145 | 145 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
| 168 | + | |
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
| 191 | + | |
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
| 152 | + | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| |||
0 commit comments