Skip to content

Parser of framework and version from image URI does not work with TF script mode images #671

@jonsnowseven

Description

@jonsnowseven

System Information

  • Framework (e.g. TensorFlow) / Algorithm (e.g. KMeans): TensorFlow/Neural Network
  • Framework Version: 1.12
  • Python Version: 3.6
  • CPU or GPU: CPU
  • Python SDK Version: 1.16.3 (and 1.18.3 also)
  • Are you using a custom image: No

Describe the problem

r'^sagemaker(?:-rl)?-(tensorflow|mxnet|chainer|pytorch|scikit-learn):(.*)-(.*?)-(py2|py3)$')

This function does not parse container images in the form of "sagemaker-tensorflow-scriptmode".

  • Exact command to reproduce:
from sagemaker.fw_utils import framework_name_from_image

framework_name_from_image("520713654638.dkr.ecr.eu-west-1.amazonaws.com/sagemaker-tensorflow-scriptmode:1.12-cpu-py3")
(None, None, None)

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