用法:
class mxnet.callback.ProgressBar(total, length=80)
- total:(
int
) - 每个时期的批次总数 - length:(
int
) - 定义进度条最大长度的字符数
- total:(
参数:
基础:
object
显示一个进度条,指示每个时期内处理的批次百分比。
例子:
>>> progress_bar = mx.callback.ProgressBar(total=2) >>> mod.fit(data, num_epoch=5, batch_end_callback=progress_bar) [========--------] 50.0% [================] 100.0%
相关用法
- Python mxnet.callback.Speedometer用法及代码示例
- Python mxnet.callback.do_checkpoint用法及代码示例
- Python mxnet.contrib.ndarray.index_copy用法及代码示例
- Python mxnet.contrib.symbol.SparseEmbedding用法及代码示例
- Python mxnet.contrib.symbol.edge_id用法及代码示例
- Python mxnet.contrib.symbol.dgl_graph_compact用法及代码示例
- Python mxnet.context.cpu用法及代码示例
- Python mxnet.contrib.symbol.dgl_adjacency用法及代码示例
- Python mxnet.contrib.ndarray.hawkesll用法及代码示例
- Python mxnet.contrib.ndarray.SparseEmbedding用法及代码示例
- Python mxnet.contrib.ndarray.ifft用法及代码示例
- Python mxnet.context.gpu用法及代码示例
- Python mxnet.contrib.ndarray.group_adagrad_update用法及代码示例
- Python mxnet.contrib.ndarray.fft用法及代码示例
- Python mxnet.contrib.ndarray.boolean_mask用法及代码示例
- Python mxnet.contrib.symbol.dgl_csr_neighbor_non_uniform_sample用法及代码示例
- Python mxnet.contrib.ndarray.dgl_subgraph用法及代码示例
- Python mxnet.contrib.tensorboard.LogMetricsCallback用法及代码示例
- Python mxnet.contrib.io.DataLoaderIter用法及代码示例
- Python mxnet.contrib.symbol.ifft用法及代码示例
注:本文由纯净天空筛选整理自apache.org大神的英文原创作品 mxnet.callback.ProgressBar。非经特殊声明,原始代码版权归原作者所有,本译文未经允许或授权,请勿转载或复制。