Skip to content

Instantly share code, notes, and snippets.

@Kartik-cl
Created May 7, 2021 08:32
Show Gist options
  • Save Kartik-cl/f89fc1a7d1433e858019432052d0e524 to your computer and use it in GitHub Desktop.
Save Kartik-cl/f89fc1a7d1433e858019432052d0e524 to your computer and use it in GitHub Desktop.
models:
- name: yolov3
launchers:
- framework: dlsdk
device: CPU
adapter:
type: yolo_v3
outputs: ['detector/yolo-v3/Conv_14/BiasAdd/YoloRegion', 'detector/yolo-v3/Conv_22/BiasAdd/YoloRegion', 'detector/yolo-v3/Conv_6/BiasAdd/YoloRegion']
batch: 1
datasets:
- name: classification_dataset
data_source: <path_to_jpeg_images_for_calibration>
annotation_conversion:
converter: "voc_detection"
annotations_dir: <path_to_annotations_in_voc_format>
images_dir: <same path as data source>
imageset_file: <textfile_path with_file_names_without_extension>
has_background: true
preprocessing:
- type: resize
size: 416
postprocessing:
- type: resize_prediction_boxes
metrics:
- type: map
integral: 11point
ignore_difficult: true
presenter: print_scalar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment