github.com/pachyderm/pachyderm@v1.13.4/examples/ml/iris/python_infer.json (about)

     1  {
     2    "pipeline": {
     3      "name": "inference"
     4    },
     5    "description": "An inference pipeline that makes a prediction based on the trained model by using a Python script.",
     6    "transform": {
     7      "image": "pachyderm/iris-infer:python",
     8      "cmd": [
     9        "python3",
    10        "/code/pyinfer.py",
    11        "/pfs/model/",
    12        "/pfs/attributes/",
    13        "/pfs/out/"
    14      ]
    15    },
    16    "parallelism_spec": {
    17      "constant": "1"
    18    },
    19    "input": {
    20      "cross": [
    21        {
    22          "pfs": {
    23            "repo": "attributes",
    24            "glob": "/*"
    25          }
    26        },
    27        {
    28          "pfs": {
    29            "repo": "model",
    30            "glob": "/"
    31          }
    32        }
    33      ]
    34    }
    35  }