Hi, can improve the docs about models folder structure.
this is my config:
/root/BMW-YOLOv4-Inference-API-GPU/models/
/root/BMW-YOLOv4-Inference-API-GPU/models/yolov4_darknet_detection
/root/BMW-YOLOv4-Inference-API-GPU/models/yolov4_darknet_detection/yolov4.weights
/root/BMW-YOLOv4-Inference-API-GPU/models/yolov4_darknet_detection/obj.data
/root/BMW-YOLOv4-Inference-API-GPU/models/yolov4_darknet_detection/config.json
/root/BMW-YOLOv4-Inference-API-GPU/models/yolov4_darknet_detection/yolov4.cfg
/root/BMW-YOLOv4-Inference-API-GPU/models/yolov4_darknet_detection/obj.names
/root/BMW-YOLOv4-Inference-API-GPU/models/.gitignore
And this is de content of the files:
/root/BMW-YOLOv4-Inference-API-GPU/models/yolov4_darknet_detection/obj.data:
classes=80
names=/models/yolov4/obj.names
/root/BMW-YOLOv4-Inference-API-GPU/models/yolov4_darknet_detection/config.json:
{
"inference_engine_name": "yolov4_darknet_detection",
"detection_threshold": 0.6,
"nms_threshold": 0.45,
"hier_threshold": 0.5,
"framework": "yolo",
"type": "detection",
"network": "network_name"
}
/root/BMW-YOLOv4-Inference-API-GPU/models/yolov4_darknet_detection/yolov4.cfg:
[net]
batch=64
subdivisions=8
Training
#width=512
#height=512
width=608
height=608
channels=3
momentum=0.949
decay=0.0005
angle=0
saturation = 1.5
exposure = 1.5
hue=.1
learning_rate=0.0013
burn_in=1000
max_batches = 500500
policy=steps
steps=400000,450000
scales=.1,.1
#cutmix=1
mosaic=1
#:104x104 54:52x52 85:26x26 104:13x13 for 416
[convolutional]
batch_normalize=1
filters=32
size=3
stride=1
pad=1
activation=mish
Downsample
[convolutional]
batch_normalize=1
filters=64
size=3
stride=2
pad=1
activation=mish
[convolutional]
batch_normalize=1
filters=64
size=1
stride=1
pad=1
activation=mish
[route]
layers = -2
[convolutional]
batch_normalize=1
filters=64
size=1
stride=1
pad=1
activation=mish
[convolutional]
batch_normalize=1
filters=32
size=1
stride=1
pad=1
activation=mish
[convolutional]
batch_normalize=1
filters=64
size=3
stride=1
pad=1
activation=mish
[shortcut]
from=-3
activation=linear
[convolutional]
batch_normalize=1
filters=64
size=1
stride=1
pad=1
activation=mish
[route]
layers = -1,-7
[convolutional]
.....
/root/BMW-YOLOv4-Inference-API-GPU/models/yolov4_darknet_detection/obj.names:
person
bicycle
car
motorbike
aeroplane
bus
train
truck
boat
traffic light
fire hydrant
stop sign
parking meter
bench
bird
cat
dog
horse
sheep
cow
elephant
bear
zebra
giraffe
backpack
umbrella
handbag
tie
suitcase
frisbee
skis
snowboard
sports ball
kite
baseball bat
baseball glove
skateboard
surfboard
tennis racket
bottle
wine glass
cup
fork
knife
spoon
bowl
banana
apple
sandwich
orange
broccoli
carrot
hot dog
pizza
donut
cake
chair
sofa
pottedplant
bed
diningtable
toilet
tvmonitor
laptop
mouse
remote
keyboard
cell phone
microwave
oven
toaster
sink
refrigerator
book
clock
vase
scissors
teddy bear
hair drier
toothbrush
And this is the response when try to load from http://..docs#/default/load_custom_load_get
{
"data": null,
"error": "Inference engine not found: yolov4_darknet_detection",
"success": false
}
Thanks.