我正在尝试将 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 并且它会起作用?