Closed shenhaibb closed 2 years ago
my dataset only has one class, my training log is below, why is my ap only 22?
[04/24 08:11:21] detectron2 INFO: Rank of current process: 0. World size: 1 [04/24 08:11:21] detectron2 INFO: Environment info:
sys.platform linux Python 3.7.13 (default, Mar 29 2022, 02:18:16) [GCC 7.5.0] numpy 1.21.6 detectron2 0.6 @/media/henu/新加卷1/rxh/YOLOF-master/detectron2/detectron2 Compiler GCC 9.4 CUDA compiler CUDA 11.4 detectron2 arch flags 7.0 DETECTRON2_ENV_MODULE PyTorch 1.9.0+cu111 @/home/henu/anaconda3/envs/YOLOF/lib/python3.7/site-packages/torch PyTorch debug build False GPU available Yes GPU 0 NVIDIA GeForce RTX 3070 (arch=8.6) Driver version 470.103.01 CUDA_HOME /usr/local/cuda Pillow 9.1.0 torchvision 0.10.0+cu111 @/home/henu/anaconda3/envs/YOLOF/lib/python3.7/site-packages/torchvision torchvision arch flags 3.5, 5.0, 6.0, 7.0, 7.5, 8.0, 8.6 fvcore 0.1.5.post20220414 iopath 0.1.9 cv2 4.5.5
PyTorch built with:
[04/24 08:11:21] detectron2 INFO: Command line arguments: Namespace(config_file='../configs/yolof_CSP_D_53_DC5_9x_stage2_3x.yaml', dist_url='tcp://127.0.0.1:50152', eval_only=False, machine_rank=0, num_gpus=0, num_machines=1, opts=[], resume=False) [04/24 08:11:21] detectron2 INFO: Contents of args.config_file=../configs/yolof_CSP_D_53_DC5_9x_stage2_3x.yaml: BASE: "Base-YOLOF.yaml" MODEL: WEIGHTS: ""
META_ARCHITECTURE: "YOLOF" BACKBONE: NAME: "build_darknet_backbone" DARKNET: NORM: "BN" RES5_DILATION: 2 ANCHOR_GENERATOR: SIZES: [[16, 32, 64, 128, 256, 512]] YOLOF: ENCODER: IN_CHANNELS: 1024 NUM_RESIDUAL_BLOCKS: 8 BLOCK_DILATIONS: [1, 2, 3, 4, 5, 6, 7, 8] NORM: "BN" ACTIVATION: "LeakyReLU" DECODER: NUM_ANCHORS: 6 NORM: "BN" ACTIVATION: "LeakyReLU" POS_IGNORE_THRESHOLD: 0.1 NEG_IGNORE_THRESHOLD: 0.8 INPUT: JITTER_CROP: ENABLED: True RESIZE: ENABLED: True DISTORTION: ENABLED: True MOSAIC: ENABLED: True OUTPUT_DIR: "output/yolof/CSP_D_53_DC5_3x"
[04/24 08:11:21] detectron2 INFO: Running with full config: CUDNN_BENCHMARK: false DATALOADER: ASPECT_RATIO_GROUPING: true FILTER_EMPTY_ANNOTATIONS: true NUM_WORKERS: 8 REPEAT_THRESHOLD: 0.0 SAMPLER_TRAIN: TrainingSampler DATASETS: PRECOMPUTED_PROPOSAL_TOPK_TEST: 1000 PRECOMPUTED_PROPOSAL_TOPK_TRAIN: 2000 PROPOSAL_FILES_TEST: [] PROPOSAL_FILES_TRAIN: [] TEST:
[04/24 10:04:49] d2.engine.defaults INFO: Evaluation results for coco_my_val in csv format: [04/24 10:04:49] d2.evaluation.testing INFO: copypaste: Task: bbox [04/24 10:04:49] d2.evaluation.testing INFO: copypaste: AP,AP50,AP75,APs,APm,APl [04/24 10:04:49] d2.evaluation.testing INFO: copypaste: 9.0921,22.6339,5.2169,1.1645,9.9529,8.7440
sorry, i forget set steps corresponding yaml
my dataset only has one class, my training log is below, why is my ap only 22?
[04/24 08:11:21] detectron2 INFO: Rank of current process: 0. World size: 1 [04/24 08:11:21] detectron2 INFO: Environment info:
sys.platform linux Python 3.7.13 (default, Mar 29 2022, 02:18:16) [GCC 7.5.0] numpy 1.21.6 detectron2 0.6 @/media/henu/新加卷1/rxh/YOLOF-master/detectron2/detectron2 Compiler GCC 9.4 CUDA compiler CUDA 11.4 detectron2 arch flags 7.0 DETECTRON2_ENV_MODULE
PyTorch 1.9.0+cu111 @/home/henu/anaconda3/envs/YOLOF/lib/python3.7/site-packages/torch
PyTorch debug build False
GPU available Yes
GPU 0 NVIDIA GeForce RTX 3070 (arch=8.6)
Driver version 470.103.01
CUDA_HOME /usr/local/cuda
Pillow 9.1.0
torchvision 0.10.0+cu111 @/home/henu/anaconda3/envs/YOLOF/lib/python3.7/site-packages/torchvision
torchvision arch flags 3.5, 5.0, 6.0, 7.0, 7.5, 8.0, 8.6
fvcore 0.1.5.post20220414
iopath 0.1.9
cv2 4.5.5
PyTorch built with:
[04/24 08:11:21] detectron2 INFO: Command line arguments: Namespace(config_file='../configs/yolof_CSP_D_53_DC5_9x_stage2_3x.yaml', dist_url='tcp://127.0.0.1:50152', eval_only=False, machine_rank=0, num_gpus=0, num_machines=1, opts=[], resume=False) [04/24 08:11:21] detectron2 INFO: Contents of args.config_file=../configs/yolof_CSP_D_53_DC5_9x_stage2_3x.yaml: BASE: "Base-YOLOF.yaml" MODEL: WEIGHTS: ""
or
WEIGHTS: "./output/yolof/CSP_D_53_DC5_9x/model_final.pth"
META_ARCHITECTURE: "YOLOF" BACKBONE: NAME: "build_darknet_backbone" DARKNET: NORM: "BN" RES5_DILATION: 2 ANCHOR_GENERATOR: SIZES: [[16, 32, 64, 128, 256, 512]] YOLOF: ENCODER: IN_CHANNELS: 1024 NUM_RESIDUAL_BLOCKS: 8 BLOCK_DILATIONS: [1, 2, 3, 4, 5, 6, 7, 8] NORM: "BN" ACTIVATION: "LeakyReLU" DECODER: NUM_ANCHORS: 6 NORM: "BN" ACTIVATION: "LeakyReLU" POS_IGNORE_THRESHOLD: 0.1 NEG_IGNORE_THRESHOLD: 0.8 INPUT: JITTER_CROP: ENABLED: True RESIZE: ENABLED: True DISTORTION: ENABLED: True MOSAIC: ENABLED: True OUTPUT_DIR: "output/yolof/CSP_D_53_DC5_3x"
[04/24 08:11:21] detectron2 INFO: Running with full config: CUDNN_BENCHMARK: false DATALOADER: ASPECT_RATIO_GROUPING: true FILTER_EMPTY_ANNOTATIONS: true NUM_WORKERS: 8 REPEAT_THRESHOLD: 0.0 SAMPLER_TRAIN: TrainingSampler DATASETS: PRECOMPUTED_PROPOSAL_TOPK_TEST: 1000 PRECOMPUTED_PROPOSAL_TOPK_TRAIN: 2000 PROPOSAL_FILES_TEST: [] PROPOSAL_FILES_TRAIN: [] TEST:
[04/24 10:04:49] d2.engine.defaults INFO: Evaluation results for coco_my_val in csv format: [04/24 10:04:49] d2.evaluation.testing INFO: copypaste: Task: bbox [04/24 10:04:49] d2.evaluation.testing INFO: copypaste: AP,AP50,AP75,APs,APm,APl [04/24 10:04:49] d2.evaluation.testing INFO: copypaste: 9.0921,22.6339,5.2169,1.1645,9.9529,8.7440