所需文件
除了模型文件外,还有数据集文件和标签文件
解压挺费时间的,好像也有方法改代码直接进入压缩包提取图片,目前没试过。
测试指令
# Train a new model starting from pre-trained COCO weights
python coco.py train --dataset=cocodataset --model=coco
# Train a new model starting from ImageNet weights
python coco.py train --dataset=cocodataset --model=imagenet
# Continue training a model that you had trained earlier
python coco.py train --dataset=cocodataset --model=/path/to/weights.h5
# Continue training the last model you trained. This will find
# the last trained weights in the model directory.
python coco.py train --dataset=cocodataset --model=last
验证指令
# Run COCO evaluation on the last trained model
python coco.py evaluate --dataset=cocodataset --model=last