Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Path: blob/master/sh/ddp_train.sh
Views: 475
python -m torch.distributed.launch --nproc_per_node 3 train.py \1--batch 32 \2--data '/home/test/Persons/hukaixuan/yolov5/datasets/package/data.yaml' \3--weights 'runs/train/exp_multi_aug_yolov5n/weights/last.pt' \4--hyp 'data/hyps/hyp.finetune_package.yaml' \5--device 2 \6--epochs 50 \7--img 512 \8--cache \9--sync-bn101112tensorboard --logdir runs/train/exp1314# 测试 train/val/test 数据集的情况15python val.py \16--weights runs/train/exp_close_mosaic/weights/last.pt \17--img 480 \18--half \19--batch 1 \20--conf 0.001 --iou 0.65 \ # mAP 测精度的标准21--conf 0.25 --iou 0.45 \ # speed 测速标准22--task 'val' or 'train' or 'test'2324# speed模式25python val.py \26--weights runs/train/exp_close_mosaic/weights/best.pt runs/train/exp_close_mosaic/weights/last.pt \27--img 480 \28--half \29--task 'speed' \30--device 'cpu' \31--batch 13233#mAP34python val.py --task 'test' --batch 16 --save-json --name 'yolov5t_dotav1_test_split'35python tools/TestJson2VocClassTxt.py \36--json_path 'runs/val/yolov5t_DroneVehicle_val/best_obb_predictions.json' \37--save_path 'runs/val/yolov5t_DroneVehicle_val/splited_obb_prediction_Txt'38python DOTA_devkit/ResultMerge_multi_process.py \39--scrpath 'runs/val/yolov5t_dotav1_test_split/splited_obb_prediction_Txt' \40--dstpath 'runs/val/yolov5t_dotav1_test_split/Merged_obb_prediction_Txt'41python DOTA_devkit/results_obb2hbb.py \42--srcpath 'runs/val/yolov5t_dotav1_test_split/Merged_obb_prediction_Txt' \43--dstpath 'runs/val/yolov5t_dotav1_test_split/Merged_hbb_prediction_Txt'444546