代码拉取完成,页面将自动刷新
# Builtin Configurations(DO NOT CHANGE THESE CONFIGURATIONS unless you know exactly what you are doing)
enable_modelarts: False
# Url for modelarts
data_url: ""
train_url: ""
checkpoint_url: ""
# Path for local
run_distribute: False
enable_profiling: False
data_path: "/cache/data"
output_path: "/cache/train"
load_path: "/cache/checkpoint_path/"
device_target: "Ascend"
checkpoint_path: "./checkpoint/"
checkpoint_file_path: ""
# ==============================================================================
# Training options
optimizer: "Momentum"
infer_label: ""
class_num: 10
batch_size: 32
loss_scale: 1024
momentum: 0.9
weight_decay: 0.0001
epoch_size: 100
save_checkpoint: True
save_checkpoint_epochs: 5
keep_checkpoint_max: 10
warmup_epochs: 5
use_label_smooth: True
label_smooth_factor: 0.1
lr_decay_mode: "poly"
lr_init: 0.01
lr_end: 0.00001
lr_max: 0.1
lars_epsilon: 0.0
lars_coefficient: 0.001
net_name: "resnet18"
dataset: "cifar10"
device_num: 1
pre_trained: ""
fp32_ckpt: ""
run_eval: False
eval_dataset_path: ""
parameter_server: False
filter_weight: False
save_best_ckpt: True
eval_start_epoch: 40
eval_interval: 1
enable_cache: False
cache_session_id: ""
mode_name: "GRAPH"
boost_mode: "O0"
conv_init: "XavierUniform"
dense_init: "RandomNormal"
train_image_size: 224
eval_image_size: 224
# Golden-stick options
comp_algo: "SLB"
quant_type: "W1"
t_start_val: 1.0
t_start_time: 0.2
t_end_time: 0.6
t_factor: 1.2
# Export options
device_id: 0
width: 224
height: 224
file_name: "resnet18"
file_format: "MINDIR"
ckpt_file: ""
network_dataset: "resnet18_cifar10"
# Retrain options
save_graphs: False
save_graphs_path: "./graphs"
has_trained_epoch: 0
has_trained_step: 0
# postprocess resnet inference
result_path: ''
label_path: ''
---
# Help description for each configuration
enable_modelarts: "Whether training on modelarts, default: False"
data_url: "Dataset url for obs."
checkpoint_url: "The location of checkpoint for obs."
data_path: "Dataset path for local."
output_path: "Training output path for local."
load_path: "The location of checkpoint for obs."
device_target: "Target device type, available: [Ascend, GPU, CPU]"
enable_profiling: "Whether enable profiling while training, default: False"
num_classes: "Class for dataset."
batch_size: "Batch size for training and evaluation."
epoch_size: "Total training epochs, should be bigger than has_trained_epoch if retrain."
checkpoint_path: "The location of the checkpoint file."
checkpoint_file_path: "The location of the checkpoint file."
save_graphs: "Whether save graphs during training, default: False"
save_graphs_path: "Path to save graphs."
comp_algo: "The quantization algorithm, default: SLB"
quant_type: "Quantization bit number of weight, available: [W1, W2, W4]"
t_start_val: "Initial value of temperature hyperparameters, default: 1.0"
t_start_time: "Fraction of epochs after which temperature hyperparameters starting changing, default: 0.2"
t_end_time: "Fraction of epochs after which temperature hyperparameters stopping changing, default: 0.6"
t_factor: "Multiplicative factor of temperature hyperparameters changing, default: 1.2"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。