An unknown error when using yolov3_darknet53 to train the fruit dataset
Created by: p1n0cch10
I am using yolov3 darknet53 to train the fruit dataset, but an error occurs.
I update my issue below, please go directly to the post below for my issue. Sorry for that.
The command is
python -u tools/train.py -c configs/yolov3_darknet_myfruit.yml -o use_fine_grained_loss=true --eval
The output is something like
2020-04-17 19:10:48,915-INFO: Downloading DarkNet53_pretrained.tar from https://paddle-imagenet-models-name.bj.bcebos.com/DarkNet53_pretrained.tar 100%|████████████████████████████████| 158940/158940 [00:09<00:00, 16988.39KB/s] 2020-04-17 19:10:58,483-INFO: Decompressing /home/alex/.cache/paddle/weights/DarkNet53_pretrained.tar... 2020-04-17 19:10:58,643-INFO: Loading parameters from /home/alex/.cache/paddle/weights/DarkNet53_pretrained... 2020-04-17 19:10:58,772-WARNING: /tmp/tmp9gh3g4dv/DarkNet53_pretrained.pdparams not found, try to load model file saved with [ save_params, save_persistables, save_vars ] 2020-04-17 19:10:58,772-WARNING: /tmp/tmp9gh3g4dv/DarkNet53_pretrained.pdparams not found, try to load model file saved with [ save_params, save_persistables, save_vars ] 2020-04-17 19:10:59,074-INFO: 240 samples in file dataset/fruit/train.txt 2020-04-17 19:11:05,588-INFO: places would be ommited when DataLoader is not iterable I0417 19:11:05.609894 30521 parallel_executor.cc:440] The Program will be executed on CUDA using ParallelExecutor, 1 cards are used, so 1 programs are executed in parallel. I0417 19:11:05.657047 30521 build_strategy.cc:365] SeqOnlyAllReduceOps:0, num_trainers:1 I0417 19:11:05.815907 30521 parallel_executor.cc:307] Inplace strategy is enabled, when build_strategy.enable_inplace = True I0417 19:11:05.851222 30521 parallel_executor.cc:375] Garbage collection strategy is enabled, when FLAGS_eager_delete_tensor_gb = 0 2020-04-17 19:11:06,004-WARNING: recv endsignal from outq with errmsg[consumer[consumer-0ee-1] failed to map with error:[target0 not in samples]]
The yolov3_darknet_myfruit.yml is modified according to yolov3_mobilenet_v1_fruit.yml. I just change .yml to .txt inorder to attach the file to a github post. yolov3_darknet_myfruit.txt
Many thanks for helping me.