AP训练过程记录

(1)运行环境:gMIS

(2)AP诊断:python /data1/wangfang_data/RC_Collaboratives/project/fang.wang03/1_Huaxi/1_Pancres/APproject/trainers/phase0_trainer_APDiagnos.py
(3)特征生成器训练: python /data1/wangfang_data/RC_Collaboratives/project/fang.wang03/1_Huaxi/1_Pancres/APproject/trainers/phase1_trainer_update.py

(4)虚拟特征生成训练:python /data1/wangfang_data/RC_Collaboratives/project/fang.wang03/1_Huaxi/1_Pancres/APproject/trainers/phase2_trainer_forDebug.py

 

(5)批量生成真实特征与虚拟特征,并保存:

python "/data1/wangfang_data/RC_Collaboratives/project/fang.wang03/1_Huaxi/1_Pancres/APproject/trainers/cls_precompute_features.py" --gpu 4 --batch_size 32 --num_workers 4 --feat_extractor_pth /data1/wangfang_data/RC_Collaboratives/project/fang.wang03/1_Huaxi/1_Pancres/APproject/checkpoints/phase1_debug2/saved_models/epoch0728_train0.1688_valnan.pth --generator_pth /data1/wangfang_data/RC_Collaboratives/project/fang.wang03/1_Huaxi/1_Pancres/APproject/checkpoints/phase2/best_model.pth --train_csv /data1/wangfang_data/RC_Collaboratives/project/fang.wang03/1_Huaxi/1_Pancres/APproject/APDiagnosis_train.csv --val_csv /data1/wangfang_data/RC_Collaboratives/project/fang.wang03/1_Huaxi/1_Pancres/APproject/APDiagnosis_val.csv --test_csv /data1/wangfang_data/RC_Collaboratives/project/fang.wang03/1_Huaxi/1_Pancres/APproject/APDiagnosis_test.csv --save_dir data1/wangfang_data/RC_Collaboratives/project/fang.wang03/1_Huaxi/1_Pancres/APproject/checkpoints/phase3/features_save

 

(6)最终模型训练:

python /data1/wangfang_data/RC_Collaboratives/project/fang.wang03/1_Huaxi/1_Pancres/APproject/trainers/phase3_cls_trainer_full.py --model_type ncct_only --save_dir /data1/wangfang_data/RC_Collaboratives/project/fang.wang03/1_Huaxi/1_Pancres/APproject/checkpoints/phase3/3_cls_trainng_ncct_only/

python /data1/wangfang_data/RC_Collaboratives/project/fang.wang03/1_Huaxi/1_Pancres/APproject/trainers/phase3_cls_trainer_full.py --model_type ap_only --save_dir /data1/wangfang_data/RC_Collaboratives/project/fang.wang03/1_Huaxi/1_Pancres/APproject/checkpoints/phase3/3_cls_trainng_ap_only/

python /data1/wangfang_data/RC_Collaboratives/project/fang.wang03/1_Huaxi/1_Pancres/APproject/trainers/phase3_cls_trainer_full.py --model_type vp_only --save_dir /data1/wangfang_data/RC_Collaboratives/project/fang.wang03/1_Huaxi/1_Pancres/APproject/checkpoints/phase3/3_cls_trainng_vp_only/

python /data1/wangfang_data/RC_Collaboratives/project/fang.wang03/1_Huaxi/1_Pancres/APproject/trainers/phase3_cls_trainer_full.py --model_type concat --save_dir /data1/wangfang_data/RC_Collaboratives/project/fang.wang03/1_Huaxi/1_Pancres/APproject/checkpoints/phase3/3_cls_trainng_concat/

python /data1/wangfang_data/RC_Collaboratives/project/fang.wang03/1_Huaxi/1_Pancres/APproject/trainers/phase3_cls_trainer_full.py --model_type attention --save_dir /data1/wangfang_data/RC_Collaboratives/project/fang.wang03/1_Huaxi/1_Pancres/APproject/checkpoints/phase3/3_cls_trainng_attention/

python /data1/wangfang_data/RC_Collaboratives/project/fang.wang03/1_Huaxi/1_Pancres/APproject/trainers/phase3_cls_trainer_full.py --model_type multimodal_3dcnn --save_dir /data1/wangfang_data/RC_Collaboratives/project/fang.wang03/1_Huaxi/1_Pancres/APproject/checkpoints/phase3/3_cls_trainng/

 

posted @ 2025-06-10 10:00  王姑娘呀~  阅读(7)  评论(0)    收藏  举报