Visitar URL original
DataLayer use data_param instead of memory_data_param · Issue #294 · yahoo/CaffeOnSpark · GitHub
Skip to content
This repository was archived by the owner on Nov 16, 2019. It is now read-only.
This repository was archived by the owner on Nov 16, 2019. It is now read-only.

DataLayer use data_param instead of memory_data_param #294

Open

Description

@ooyanglinoo

Can I use data_param instead of memory_data_param to define DataSource in DataLayer? If not, how to apply different size images as training dataset?

Activity

  1. changed the title [-]DataLayer use data_param instead memory_data_param[/-] [+]DataLayer use data_param instead of memory_data_param[/+] on Dec 29, 2017
  2. junshi15 commented on Dec 29, 2017

    @junshi15
    Collaborator

    You can only use memory_data_param or cos_data_param to specify the input layers.

    The data layers have simple resize function, but I don't think it handles encoded images (say JPEG) with variable sizes.

    I would pre-processe the images (resize, rotate, etc) before feeding them to Caffe.

  3. ooyanglinoo commented on Jan 2, 2018

    @ooyanglinoo
    Author

    I want to train a object detection model based on CaffeOnSpark, whose training image size varies, and may not resize easily because tags on images is based on origin image size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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