Commit Graph

83 Commits

Author SHA1 Message Date
jiangshuqiang 6154f957fb fix static check 2021-05-31 16:47:21 +08:00
yao_yf e967f1939b parallel envs variable check 2021-05-07 09:12:53 +08:00
Erpim 90d5d5dab3 add lsq quantization method 2021-04-27 20:48:04 +08:00
ougongchang e8ee209877 Optimize summary ut and delete duplicate test cases
Change the summary test case to stage3 to avoid multiple processes that cause the summary test case to fail
2021-03-08 17:36:17 +08:00
ougongchang 4309e20b1b Add heartbeat check in summary and delete test cases that do not exit 2021-03-02 15:29:15 +08:00
jiangshuqiang 0bb80995bc fix param check for unexpected_format 2021-02-02 12:03:49 +08:00
l00591931 9ec100d069 Change TensorAdd to Add, from r1.1 to master 2021-02-01 17:53:52 +08:00
ougongchang c6e4b0c85f Add more log when collect graph and use summary operators
Fix can not collect input data when batch size is 1 and total step
number is 1

Fixed spelling errors
2021-01-26 11:24:16 +08:00
jiangshuqiang ab5cc10250 add the tensor collection feature when record summary 2021-01-11 12:39:36 +08:00
mindspore-ci-bot 1f06cd63f3 !10436 Support to control whether to throw runtime exceptions in SummaryRecord
From: @ouwenchang
Reviewed-by: 
Signed-off-by:
2021-01-06 14:21:21 +08:00
ougongchang 06be546b52 Support to control whether raise RuntimeError exception in SummaryRecord
1. Support explainer raise an RuntimeError exception
2. fix the ut of SummaryRecord
2021-01-06 10:07:47 +08:00
ougongchang e5529230bf Prevent the multiprocess from capturing KeyboardInterrupt 2020-12-29 17:46:42 +08:00
buxue f90f77c16e support non tensor inputs in model predict 2020-12-17 14:17:41 +08:00
mindspore-ci-bot 2af6313f53 !7534 SummaryRecord support to record mindexplain data
Merge pull request !7534 from ougongchang/feature_mindexplain
2020-10-23 14:38:33 +08:00
ougongchang 6072b25a07 SummaryRecord support to record mindexplain data
The SummaryRecord.add_value() method is extended to record the data of
MindExplain.
2020-10-22 15:52:54 +08:00
yuchaojie c8ec34d638 move train.quant to compression module & add QuantizationAwareTraining 2020-10-21 17:30:40 +08:00
Jiaqi 4e3e6006b6 modify init 2020-09-21 21:49:28 +08:00
buxue 483c8a179a improve the recognition of Parameter object and raise error when convert keywordarg to pydata 2020-09-19 18:01:00 +08:00
mindspore-ci-bot ad186e79d8 !5599 Collect input data when `dataset_sink_mode` set on GPU
Merge pull request !5599 from LiHongzhang/dataset_sink_mode
2020-09-08 10:21:33 +08:00
Li Hongzhang 066950f69e GPU dataset_sink_mode collect inputs 2020-09-07 17:12:36 +08:00
yao_yf d4cfe55c04 rename mirror_mean to gradients_mean 2020-09-04 14:47:36 +08:00
mindspore-ci-bot bb84f50407 !5473 optim pylint
Merge pull request !5473 from jinyaohui/master
2020-09-02 15:25:30 +08:00
jinyaohui a9972a7def optim pylint 2020-08-31 14:49:57 +08:00
mindspore-ci-bot e6a4d932b4 !5350 [AutoParallel]Rectification distributed init
Merge pull request !5350 from lichen/rectification_init
2020-08-29 14:55:18 +08:00
lichenever d3e55b543e rectification init 2020-08-29 09:34:58 +08:00
yao_yf 07117e4dd4 mv ParallelMode to context 2020-08-28 19:13:55 +08:00
Yi Huaijie 89a4ebf8a1 parallel mode must be set before create an initializer 2020-08-20 19:20:46 +08:00
Wei Luning a05c38bb63 make python Parameter inherit from Tensor 2020-08-03 09:12:24 +08:00
chenzomi 8918c90b66 add mindspore hub for download ckpt file
add mindspore.hub and change model_zoo
2020-07-30 15:02:55 +08:00
simson 5f77fbdd75 Rewrite tensor's __bool__ for pynative mode 2020-07-23 16:51:46 +08:00
mindspore-ci-bot 2e4bb93a1e !3250 [quant]bug fixes when export geir
Merge pull request !3250 from vlne-v1/quant_export_geir_biasadd_after_depth_wise
2020-07-21 09:35:28 +08:00
Wei Luning 7d5c9d52bc fix geir export bugs 2020-07-20 21:32:57 +08:00
anzhengqi 008b91b2a1 inject epoch ctrl op in the execution tree and send eos at the end of epoch 2020-07-20 13:02:47 +08:00
Wei Luning 28d1d37085 End at validate when export. 2020-07-17 12:44:12 +08:00
mindspore-ci-bot 69ce4bf2b2 !2970 Del mindspore/model_zoo
Merge pull request !2970 from panbingao/master
2020-07-14 08:57:31 +08:00
panbingao 45dbc8bf04 Move model_zoo.resnet.py 2020-07-10 17:36:34 +08:00
Wei Luning b522368161 fix bug of quant export without input fakequant. 2020-07-10 14:11:45 +08:00
mindspore-ci-bot f1a9a7ceb1 !2718 fix quantization aware training auto create graph bug
Merge pull request !2718 from chenzhongming/master
2020-07-02 09:57:30 +08:00
ougongchang cd868aea52 fix get loss error and NoneType error cause by _proceesor_specified_data
fix get loss error when it not a scalar and fix process specified data
failed when the action is False, and collect_specified_data parameter is
not None
2020-06-30 21:11:06 +08:00
mindspore-ci-bot 2fadbb1d04 !2743 add more ut and st for SummaryCollector
Merge pull request !2743 from ougongchang/summary_collector_ut
2020-06-30 18:58:03 +08:00
chenzomi 1089c908a9 cherry-pick r0.5 to master for quantizaiton aware training 2020-06-30 17:23:08 +08:00
ougongchang 3dc6f6f2d9 add more ut and st for SummaryCollector
Has fixed collecting optimizer error when mode is eval
2020-06-30 17:02:03 +08:00
jinyaohui dd5fba1db9 add notice 2020-06-29 17:39:25 +08:00
Wei Luning dcd5773f64 fix bug in quant deploy export 2020-06-23 20:34:44 +08:00
mindspore-ci-bot 2f9c6ec8bc !2337 aware quantization training auto create graph
Merge pull request !2337 from chenzhongming/master
2020-06-20 09:23:14 +08:00
chenzomi c268c88220 aware quantization training auto create graph 2020-06-19 22:01:16 +08:00
ougongchang 939cd29d7e Add a callback named SummaryCollector and delete SummaryStep callback
I added a SummaryCollector to help users automatically collect information
such as the network, loss, learning rate and so on, making it easier to collect this information.

It also can collect train lineage and eval lineage information which is
collected by TrainLineage Callback and EvalLineage Callback in
MindInsight.

I also add some UT for SummaryCollect to keep the code correct.
2020-06-19 21:07:55 +08:00
mindspore-ci-bot 8867c67d61 !1935 Summary callback as collector for summary and lineage
Merge pull request !1935 from 李鸿章/policy_writer
2020-06-19 14:53:14 +08:00
Li Hongzhang 0921c1e538 enhance the SummaryRecord with set_mode and add_value 2020-06-19 13:03:00 +08:00
Wei Luning 1d77bf86a9 Exports MindSpore quant predict model to deploy with GEIR 2020-06-19 10:21:35 +08:00