Uploaded image for project: 'Singa'
  1. Singa
  2. SINGA-278

Convert trained caffe parameters to singa

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None

    Description

      Convert trained parameters of caffe model to singa.
      Run vgg as an example. Some tricks should be noticed:
      1. The order of image axes in caffe is height, width and channels due to opencv implementation, while it is width, height, channels in singa if you use python PIL.
      2. Another problem caused by these two libraries is the order of channels, BGR(caffe, opencv) v.s. RGB(singa, PIL).
      3. It needs to transpose the weight tensor in InnerProduct(Dense) layer.

      Attachments

        Activity

          People

            Xiangrui Xiangrui
            Xiangrui Xiangrui
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: