python - GCP AI 平台:脚本 _name_ 安装在 '/root/.local/bin' 中,它不在 PATH 上
问题描述
我正在尝试将 python 文件推送到 Google AI Platform(统一)。对于我使用 setuptools 的依赖项:
%%writefile custom/setup.py
from setuptools import find_packages
from setuptools import setup
REQUIRED_PACKAGES = ['scikit-learn', 'pandas', 'numpy>=1.17', 'transformers', 'tensorboard']
setup(
name='trainer',
version='0.1',
install_requires=REQUIRED_PACKAGES,
packages=find_packages(),
include_package_data=True,
description='My training application package.'
)
为 中的所有包获取此错误REQUIRED PACKAGES
。
"pathname": "run_module.py",
"levelname": "ERROR",
"message": " WARNING: The script tensorboard is installed in '/root/.local/bin' which is not on PATH."
来自pathname
run_module.py
谷歌云。我没有这样命名的文件。我是否应该将我的训练任务的文件名更改为 run_module.py 并且它会起作用?
解决方案
推荐阅读
- watson-assistant - 如何提示 Watson Assistant 停止响应?
- flutter - 参数类型'Future
' 不能分配给参数类型 'bool' - c++ - 通过元编程填充模板指针类的数组
- python - Python - 带空格的多个参数
- python-3.x - Django Query 匹配查询不存在 - 但我找不到错误
- laravel - 如果使用 Laravel 和 Eloquent 的任何子菜单处于活动状态,如何将父菜单标记为活动?
- c# - 使嵌入文件在记事本中不可读
- google-admin-sdk - 在 Google-Worflows 和 Google-Admin 上 PUT 或 POST
- nginx - 如何使用 fail2ban 处理 Nginx 错误“主脚本未知”
- pandas - 为什么我得到“NoneType”对象没有属性“absolute_links”错误?