Skip to content
This repository was archived by the owner on Nov 21, 2023. It is now read-only.
This repository was archived by the owner on Nov 21, 2023. It is now read-only.

Converted detection model for Caffe2 runs too slow on CPU #427

@drcege

Description

@drcege

I trained a detector for electricity meter based on e2e_faster_rcnn_R-50-C4_1x.yaml. The trained model works very well with Detectron on GPU. we have to deploy it on CPU, so I converted it to Caffe2 format by convert_pkl_to_pb.py.

However, the workspace.RunNet executes for approximately 100 seconds per image. It is too slow.

The attachment is my test code. ammeter_det.pdf

System information

  • Operating system: Ubuntu 16.04
  • Compiler version:
  • CUDA version: 8
  • cuDNN version: 7
  • NVIDIA driver version: 384.111
  • python --version output: 2.7.12

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions