未验证 提交 7181946b 编写于 作者: P Paul Barsic 提交者: GitHub

Error while enabling SAM on CPU (#6249)

This PR solves issue #6247 "Error while enabling SAM on CPU".

It looks like the `--file` argument to `nuctl deploy` was inadvertently
removed in the most recent release. This causes the process to fail with
`**Error - Function name cannot be empty`. I was able to reproduce this
error on my own system.

### Motivation and context

This change fixes a minor error.

### How has this been tested?

I tested this by reproducing the bug with the command from the
`cvat/components` directory:

`nuctl deploy --project-name cvat --path
"./serverless/pytorch/foolwood/siammask/nuclio" --platform local`

I then edited the `deploy_cpu.sh` file, executed the same command, and
completed a successful deployment, which I verified with `nuctl get
functions`.
上级 e5ea2135
......@@ -24,7 +24,8 @@ do
fi
echo "Deploying $func_rel_path function..."
nuctl deploy --project-name cvat --path "$func_root" --platform local
nuctl deploy --project-name cvat --path "$func_root" \
--file "$func_config" --platform local
done
nuctl get function --platform local
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册