Closed wangpeng198754 closed 3 years ago
可以把 num worker 修改为 0 试试
The issue will be closed, if it is not solved or there is a follow-up one, please reopen it at any time and we will continue to follow up. It is recommended to pull and try the latest code first. 该问题将会被关闭,若问题未解决或有后续问题,请随时重新打开(建议先拉取最新代码进行尝试),我们会继续跟进。
Global: use_gpu: true epoch_num: 1200 log_smooth_window: 20 print_batch_step: 10 save_model_dir: ./output/db_mv3/ save_epoch_step: 3
evaluation is run every 2000 iterations
eval_batch_step: [0,400]
1. If pretrained_model is saved in static mode, such as classification pretrained model
from static branch, load_static_weights must be set as True.
2. If you want to finetune the pretrained models we provide in the docs,
you should set load_static_weights as False.
load_static_weights: True cal_metric_during_train: False pretrained_model: ./pretrain_models/MobileNetV3_large_x0_5_pretrained/ checkpoints: save_inference_dir: ./output/det_db/ use_visualdl: False infer_img: ./doc/imgs_en/img_10.jpg save_res_path: ./output/det_db/predicts_db.txt
Architecture: model_type: det algorithm: DB Transform: Backbone: name: MobileNetV3 scale: 0.5 model_name: large Neck: name: DBFPN out_channels: 256 Head: name: DBHead k: 50
Loss: name: DBLoss balance_loss: true main_loss_type: DiceLoss alpha: 5 beta: 10 ohem_ratio: 3
Optimizer: name: Adam beta1: 0.9 beta2: 0.999 lr: learning_rate: 0.001 regularizer: name: 'L2' factor: 0
PostProcess: name: DBPostProcess thresh: 0.3 box_thresh: 0.6 max_candidates: 1000 unclip_ratio: 1.5
Metric: name: DetMetric main_indicator: hmean
Train: dataset: name: SimpleDataSet data_dir: C:/Users/Administrator/Desktop/tianchi/ label_file_list:
Eval: dataset: name: SimpleDataSet data_dir: C:/Users/Administrator/Desktop/tianchi/ label_file_list: