'How to pass additional parameters (as a dict) to sagemeker custom inference container?

Status:

Challenge:

  • In the same Model class there is a ENV parameter through which we can apparently send the environment variables to the custom image
  • Tried passing a python dict to this , but facing difficulty to read this json dict inide the predict.py script

Somebody faced the same difficulty ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source