Skip to content

Deploy() returns NoneType #1965

Description

@vbabu29

Describe the bug

Trying t o instantiate a Python SDK trained model which is stored in S3. The deploy() func returns a NoneType

Here is my code:

semsegtrainedmodel = sagemaker.model.Model(model_data=path,
image='811284229777.dkr.ecr.us-east-1.amazonaws.com/semantic-segmentation:latest',
role=role)

ss_predictor = semsegtrainedmodel.deploy(initial_instance_count=1, instance_type='ml.c4.xlarge')

Screenshots or logs
print(type(ss_predictor))
NoneType

System information
A description of your system. Please provide:

  • SageMaker Python SDK version: '1.72.1'
  • Framework name (eg. PyTorch) or algorithm (eg. KMeans): Semantic Segmentation
  • Framework version:
  • Python version: 3.6.1
  • CPU or GPU:
  • Custom Docker image (Y/N):

Additional context
Add any other context about the problem here.

Activity

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