Skip to content

input data config ignored in local mode? #451

Closed

Description

@yifeim

The local image clearly ignores context_type of an input,

json_input_data_config = {

despite they somehow passed unit test

def test_file_input_content_type():

My same custom model runs in remote but not in local. This inspires my question: how are context types detected? E.g., by file suffix?

Thanks.

Activity

  1. changed the title [-]input data config ignored?[/-] [+]input data config ignored in local mode?[/+] on Oct 31, 2018
  2. nadiaya commented on Nov 2, 2018

    @nadiaya
    Contributor

    Thank you for reporting it. This does look like a bug.

  3. iquintero commented on Nov 2, 2018

    @iquintero
    Contributor

    Hi @yifeim this is fixed in #449

    Local Mode will now work the same way as SageMaker does. Basically if you provide a content_type it will be passed to inputdataconfig.json. If you don't then there will be no ContentType key in the json file. It is up to your algorithm to define a default if it needs to. This change makes it consistent with SageMaker.

  4. yifeim commented on Nov 3, 2018

    @yifeim
    ContributorAuthor
  5. nadiaya commented on Nov 5, 2018

    @nadiaya
    Contributor

    Fixed has been merged. Resolving.

  6. yifeim commented on Nov 6, 2018

    @yifeim
    ContributorAuthor

    Good job! The other changes are also interesting. Thanks a lot!

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions